[INFO] fetching crate ixc_schema 0.0.4... [INFO] testing ixc_schema-0.0.4 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate ixc_schema 0.0.4 into /workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ixc_schema 0.0.4 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07c1c1634735705b8a92aa9dd9310ff20070f9af2f2b874ed77fb917a6a2afcd [INFO] running `Command { std: "docker" "start" "-a" "07c1c1634735705b8a92aa9dd9310ff20070f9af2f2b874ed77fb917a6a2afcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07c1c1634735705b8a92aa9dd9310ff20070f9af2f2b874ed77fb917a6a2afcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07c1c1634735705b8a92aa9dd9310ff20070f9af2f2b874ed77fb917a6a2afcd", kill_on_drop: false }` [INFO] [stdout] 07c1c1634735705b8a92aa9dd9310ff20070f9af2f2b874ed77fb917a6a2afcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae43741d8b540c9bff677558dc9100954e9bbbe4a1b7cb6861e3bd2a921ee6ac [INFO] running `Command { std: "docker" "start" "-a" "ae43741d8b540c9bff677558dc9100954e9bbbe4a1b7cb6861e3bd2a921ee6ac", kill_on_drop: false }` [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling if_chain v1.0.3 [INFO] [stderr] Compiling proc-macro-utils v0.10.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling simple_time v0.0.2 [INFO] [stderr] Compiling deluxe-core v0.5.0 [INFO] [stderr] Compiling manyhow-macros v0.11.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling manyhow v0.11.4 [INFO] [stderr] Compiling deluxe-macros v0.5.0 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling deluxe v0.5.0 [INFO] [stderr] Compiling ixc_schema_macros v0.0.3 [INFO] [stderr] Compiling num_enum v0.7.4 [INFO] [stderr] Compiling ixc_message_api v0.0.4 [INFO] [stderr] Compiling 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::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)]` (part of `#[warn(unused)]`) 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 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 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: `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: 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: `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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 12.65s [INFO] running `Command { std: "docker" "inspect" "ae43741d8b540c9bff677558dc9100954e9bbbe4a1b7cb6861e3bd2a921ee6ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae43741d8b540c9bff677558dc9100954e9bbbe4a1b7cb6861e3bd2a921ee6ac", kill_on_drop: false }` [INFO] [stdout] ae43741d8b540c9bff677558dc9100954e9bbbe4a1b7cb6861e3bd2a921ee6ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ef4178be448f3d7c53ca38f0f3ea5791d8ae32dc5080f39fcca166d238f42ab [INFO] running `Command { std: "docker" "start" "-a" "5ef4178be448f3d7c53ca38f0f3ea5791d8ae32dc5080f39fcca166d238f42ab", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling deluxe-core v0.5.0 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling manyhow v0.11.4 [INFO] [stderr] Compiling proptest-derive v0.5.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling num_enum v0.7.4 [INFO] [stderr] Compiling ixc_message_api v0.0.4 [INFO] [stderr] Compiling deluxe-macros v0.5.0 [INFO] [stderr] Compiling deluxe v0.5.0 [INFO] [stderr] Compiling ixc_schema_macros v0.0.3 [INFO] [stderr] Compiling 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::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)]` (part of `#[warn(unused)]`) 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 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 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: `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: 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: `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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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: `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: `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 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 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: `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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 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: `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: 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: `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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 `test` profile [unoptimized + debuginfo] target(s) in 15.88s [INFO] running `Command { std: "docker" "inspect" "5ef4178be448f3d7c53ca38f0f3ea5791d8ae32dc5080f39fcca166d238f42ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ef4178be448f3d7c53ca38f0f3ea5791d8ae32dc5080f39fcca166d238f42ab", kill_on_drop: false }` [INFO] [stdout] 5ef4178be448f3d7c53ca38f0f3ea5791d8ae32dc5080f39fcca166d238f42ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1a14ce322c2467af09590795eda59d35bc9f164f97f2ce713dc5ac4c11592094 [INFO] running `Command { std: "docker" "start" "-a" "1a14ce322c2467af09590795eda59d35bc9f164f97f2ce713dc5ac4c11592094", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `arrayvec` [INFO] [stderr] --> src/value.rs:482:7 [INFO] [stderr] | [INFO] [stderr] 482 | #[cfg(feature = "arrayvec")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `bumpalo`, `default`, `std`, and `use_ixc_macro_path` [INFO] [stderr] = help: consider adding `arrayvec` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `arrayvec` [INFO] [stderr] --> src/value.rs:484:7 [INFO] [stderr] | [INFO] [stderr] 484 | #[cfg(feature = "arrayvec")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `bumpalo`, `default`, `std`, and `use_ixc_macro_path` [INFO] [stderr] = help: consider adding `arrayvec` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused import: `ixc_message_api::packet::MessagePacket` [INFO] [stderr] --> src/value.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use ixc_message_api::packet::MessagePacket; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `ixc_message_api::AccountID` [INFO] [stderr] --> src/types.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use ixc_message_api::AccountID; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Writer` [INFO] [stderr] --> src/state_object/value.rs:2:36 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::buffer::{WriterFactory, Writer}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Writer` [INFO] [stderr] --> src/codec.rs:4:21 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::buffer::{Writer, WriterFactory}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::value::SchemaValue` [INFO] [stderr] --> src/decoder.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use crate::value::SchemaValue; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ObjectKey` and `ObjectValue` [INFO] [stderr] --> src/binary/mod.rs:10:27 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::state_object::{ObjectKey, ObjectValue}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::value::SchemaValue` [INFO] [stderr] --> src/binary/mod.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::value::SchemaValue; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `StructDecodeVisitor` [INFO] [stderr] --> src/binary/encoder.rs:4:22 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::structs::{StructDecodeVisitor, StructEncodeVisitor, StructType}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/binary/encoder.rs:102:9 [INFO] [stderr] | [INFO] [stderr] 102 | /// TODO find a more efficient way to encode time [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 103 | self.encode_i128(x.unix_nanos()) [INFO] [stderr] | -------------------------------- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/binary/encoder.rs:107:9 [INFO] [stderr] | [INFO] [stderr] 107 | /// TODO find a more efficient way to encode duration [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 108 | self.encode_i128(x.nanos()) [INFO] [stderr] | --------------------------- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::value::SchemaValue` [INFO] [stderr] --> src/binary/decoder.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::value::SchemaValue; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `core::ptr::slice_from_raw_parts_mut` [INFO] [stderr] --> src/buffer.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use core::ptr::slice_from_raw_parts_mut; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `MESSAGE_HEADER_SIZE` and `MessageHeader` [INFO] [stderr] --> src/mem.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | use ixc_message_api::header::{MessageHeader, MESSAGE_HEADER_SIZE}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ixc_message_api::packet::MessagePacket` [INFO] [stderr] --> src/mem.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use ixc_message_api::packet::MessagePacket; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/mem.rs:46:17 [INFO] [stderr] | [INFO] [stderr] 46 | / /// Rust doesn't know what the lifetime of this data is, but we do because [INFO] [stderr] 47 | | /// we allocated it and own the allocator, [INFO] [stderr] 48 | | /// so we transmute it to have the appropriate lifetime [INFO] [stderr] | |_______________________________________________________________________^ [INFO] [stderr] 49 | dropper: transmute(dropper as NonNull), [INFO] [stderr] | ----------------------------------------------------- rustdoc does not generate documentation for expression fields [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] warning: unused import: `ixc_message_api::header::MessageSelector` [INFO] [stderr] --> src/message.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use ixc_message_api::header::MessageSelector; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::codec::Codec` [INFO] [stderr] --> src/message.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::codec::Codec; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::SchemaValue` [INFO] [stderr] --> src/message.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::SchemaValue; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::structs::StructSchema` [INFO] [stderr] --> src/message.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::structs::StructSchema; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::value::OptionalValue` [INFO] [stderr] --> src/message.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::value::OptionalValue; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ixc_message_api::handler::Allocator` [INFO] [stderr] --> src/value.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use ixc_message_api::handler::Allocator; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::state_object::ObjectValue` [INFO] [stderr] --> src/binary/encoder.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::state_object::ObjectValue; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::state_object::ObjectValue` [INFO] [stderr] --> src/binary/decoder.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::state_object::ObjectValue; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::value::SchemaValue` [INFO] [stderr] --> src/binary/encoder.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::value::SchemaValue; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mem` [INFO] [stderr] --> src/value.rs:48:54 [INFO] [stderr] | [INFO] [stderr] 48 | fn finish_decode_state(state: Self::DecodeState, mem: &'a MemoryManager) -> Result [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mem` [INFO] [stderr] --> src/value.rs:360:54 [INFO] [stderr] | [INFO] [stderr] 360 | fn finish_decode_state(state: Self::DecodeState, mem: &'a MemoryManager) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mem` [INFO] [stderr] --> src/value.rs:378:54 [INFO] [stderr] | [INFO] [stderr] 378 | fn finish_decode_state(state: Self::DecodeState, mem: &'a MemoryManager) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `encoder` [INFO] [stderr] --> src/value.rs:434:22 [INFO] [stderr] | [INFO] [stderr] 434 | fn encode(&self, encoder: &mut dyn Encoder) -> Result<(), EncodeError> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoder` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mem` [INFO] [stderr] --> src/value.rs:452:54 [INFO] [stderr] | [INFO] [stderr] 452 | fn finish_decode_state(state: Self::DecodeState, mem: &'a MemoryManager) -> Result [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mem` [INFO] [stderr] --> src/value.rs:473:54 [INFO] [stderr] | [INFO] [stderr] 473 | fn finish_decode_state(state: Self::DecodeState, mem: &'a MemoryManager) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cdc` [INFO] [stderr] --> src/value.rs:505:21 [INFO] [stderr] | [INFO] [stderr] 505 | fn decode_value(cdc: &dyn Codec, data: &'a [u8], memory_manager: &'a MemoryManager) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cdc` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/value.rs:505:38 [INFO] [stderr] | [INFO] [stderr] 505 | fn decode_value(cdc: &dyn Codec, data: &'a [u8], memory_manager: &'a MemoryManager) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `memory_manager` [INFO] [stderr] --> src/value.rs:505:54 [INFO] [stderr] | [INFO] [stderr] 505 | fn decode_value(cdc: &dyn Codec, data: &'a [u8], memory_manager: &'a MemoryManager) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cdc` [INFO] [stderr] --> src/value.rs:509:25 [INFO] [stderr] | [INFO] [stderr] 509 | fn encode_value<'b>(cdc: &dyn Codec, value: &Self::Value, writer_factory: &'b dyn WriterFactory) -> Result, EncodeEr... [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cdc` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/value.rs:509:42 [INFO] [stderr] | [INFO] [stderr] 509 | fn encode_value<'b>(cdc: &dyn Codec, value: &Self::Value, writer_factory: &'b dyn WriterFactory) -> Result, EncodeEr... [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `writer_factory` [INFO] [stderr] --> src/value.rs:509:63 [INFO] [stderr] | [INFO] [stderr] 509 | ...value: &Self::Value, writer_factory: &'b dyn WriterFactory) -> Result, EncodeError> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer_factory` [INFO] [stderr] [INFO] [stderr] warning: unnecessary `unsafe` block [INFO] [stderr] --> src/value.rs:519:9 [INFO] [stderr] | [INFO] [stderr] 519 | unsafe { decode_value(cdc, data, memory_manager) } [INFO] [stderr] | ^^^^^^ unnecessary `unsafe` block [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/state_object/value.rs:54:19 [INFO] [stderr] | [INFO] [stderr] 54 | fn encode<'a>(value: &Self::In<'a>, encoder: &mut dyn Encoder) -> Result<(), EncodeError> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `encoder` [INFO] [stderr] --> src/state_object/value.rs:54:41 [INFO] [stderr] | [INFO] [stderr] 54 | fn encode<'a>(value: &Self::In<'a>, encoder: &mut dyn Encoder) -> Result<(), EncodeError> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encoder` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `decoder` [INFO] [stderr] --> src/state_object/value.rs:58:19 [INFO] [stderr] | [INFO] [stderr] 58 | fn decode<'a>(decoder: &mut dyn Decoder<'a>, mem: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoder` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mem` [INFO] [stderr] --> src/state_object/value.rs:58:50 [INFO] [stderr] | [INFO] [stderr] 58 | fn decode<'a>(decoder: &mut dyn Decoder<'a>, mem: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_mem` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/state_object/key.rs:36:19 [INFO] [stderr] | [INFO] [stderr] 36 | fn encode<'a>(key: &Self::In<'a>, writer: &mut ReverseSliceWriter) -> Result<(), EncodeError> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `writer` [INFO] [stderr] --> src/state_object/key.rs:36:39 [INFO] [stderr] | [INFO] [stderr] 36 | fn encode<'a>(key: &Self::In<'a>, writer: &mut ReverseSliceWriter) -> Result<(), EncodeError> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/state_object/key.rs:40:19 [INFO] [stderr] | [INFO] [stderr] 40 | fn decode<'a>(input: &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `memory_manager` [INFO] [stderr] --> src/state_object/key.rs:40:36 [INFO] [stderr] | [INFO] [stderr] 40 | fn decode<'a>(input: &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/state_object/key.rs:44:21 [INFO] [stderr] | [INFO] [stderr] 44 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 0 } [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `memory_manager` [INFO] [stderr] --> src/state_object/key_field.rs:40:42 [INFO] [stderr] | [INFO] [stderr] 40 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/state_object/key_field.rs:44:21 [INFO] [stderr] | [INFO] [stderr] 44 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 1 } [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `memory_manager` [INFO] [stderr] --> src/state_object/key_field.rs:52:42 [INFO] [stderr] | [INFO] [stderr] 52 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/state_object/key_field.rs:57:21 [INFO] [stderr] | [INFO] [stderr] 57 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 2 } [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `memory_manager` [INFO] [stderr] --> src/state_object/key_field.rs:65:42 [INFO] [stderr] | [INFO] [stderr] 65 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/state_object/key_field.rs:70:21 [INFO] [stderr] | [INFO] [stderr] 70 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 4 } [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `memory_manager` [INFO] [stderr] --> src/state_object/key_field.rs:78:42 [INFO] [stderr] | [INFO] [stderr] 78 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/state_object/key_field.rs:83:21 [INFO] [stderr] | [INFO] [stderr] 83 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 8 } [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `memory_manager` [INFO] [stderr] --> src/state_object/key_field.rs:91:42 [INFO] [stderr] | [INFO] [stderr] 91 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/state_object/key_field.rs:96:21 [INFO] [stderr] | [INFO] [stderr] 96 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 16 } [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `memory_manager` [INFO] [stderr] --> src/state_object/key_field.rs:106:42 [INFO] [stderr] | [INFO] [stderr] 106 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/state_object/key_field.rs:112:21 [INFO] [stderr] | [INFO] [stderr] 112 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 1 } [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `memory_manager` [INFO] [stderr] --> src/state_object/key_field.rs:122:42 [INFO] [stderr] | [INFO] [stderr] 122 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/state_object/key_field.rs:128:21 [INFO] [stderr] | [INFO] [stderr] 128 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 2 } [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `memory_manager` [INFO] [stderr] --> src/state_object/key_field.rs:137:42 [INFO] [stderr] | [INFO] [stderr] 137 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/state_object/key_field.rs:143:21 [INFO] [stderr] | [INFO] [stderr] 143 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 4 } [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `memory_manager` [INFO] [stderr] --> src/state_object/key_field.rs:152:42 [INFO] [stderr] | [INFO] [stderr] 152 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/state_object/key_field.rs:157:21 [INFO] [stderr] | [INFO] [stderr] 157 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 8 } [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `memory_manager` [INFO] [stderr] --> src/state_object/key_field.rs:166:42 [INFO] [stderr] | [INFO] [stderr] 166 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/state_object/key_field.rs:171:21 [INFO] [stderr] | [INFO] [stderr] 171 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 16 } [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `memory_manager` [INFO] [stderr] --> src/state_object/key_field.rs:179:42 [INFO] [stderr] | [INFO] [stderr] 179 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/state_object/key_field.rs:183:21 [INFO] [stderr] | [INFO] [stderr] 183 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 1 } [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/state_object/key_field.rs:197:21 [INFO] [stderr] | [INFO] [stderr] 197 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 12 } [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/state_object/key_field.rs:211:21 [INFO] [stderr] | [INFO] [stderr] 211 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 12 } [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `memory_manager` [INFO] [stderr] --> src/state_object/key_field.rs:220:42 [INFO] [stderr] | [INFO] [stderr] 220 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/state_object/key_field.rs:225:21 [INFO] [stderr] | [INFO] [stderr] 225 | fn out_size<'a>(key: &Self::In<'a>) -> usize { 8 } [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `memory_manager` [INFO] [stderr] --> src/state_object/key_field.rs:240:42 [INFO] [stderr] | [INFO] [stderr] 240 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `memory_manager` [INFO] [stderr] --> src/state_object/key_field.rs:251:51 [INFO] [stderr] | [INFO] [stderr] 251 | fn decode_terminal<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `memory_manager` [INFO] [stderr] --> src/state_object/key_field.rs:274:42 [INFO] [stderr] | [INFO] [stderr] 274 | fn decode<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `memory_manager` [INFO] [stderr] --> src/state_object/key_field.rs:280:51 [INFO] [stderr] | [INFO] [stderr] 280 | fn decode_terminal<'a>(reader: &mut &'a [u8], memory_manager: &'a MemoryManager) -> Result, DecodeError> { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_manager` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `enum_type` [INFO] [stderr] --> src/decoder.rs:58:31 [INFO] [stderr] | [INFO] [stderr] 58 | fn decode_enum(&mut self, enum_type: &EnumType) -> Result { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_type` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/decoder.rs:98:13 [INFO] [stderr] | [INFO] [stderr] 98 | fn from(value: DecodeError) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `f` [INFO] [stderr] --> src/binary/encoder.rs:58:13 [INFO] [stderr] | [INFO] [stderr] 58 | for f in struct_type.fields.iter().rev() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/binary/encoder.rs:125:30 [INFO] [stderr] | [INFO] [stderr] 125 | fn encode_u32(&mut self, x: u32) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/binary/encoder.rs:130:30 [INFO] [stderr] | [INFO] [stderr] 130 | fn encode_i32(&mut self, x: i32) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/binary/encoder.rs:135:30 [INFO] [stderr] | [INFO] [stderr] 135 | fn encode_u64(&mut self, x: u64) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/binary/encoder.rs:140:31 [INFO] [stderr] | [INFO] [stderr] 140 | fn encode_u128(&mut self, x: u128) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `f` [INFO] [stderr] --> src/binary/encoder.rs:160:13 [INFO] [stderr] | [INFO] [stderr] 160 | for f in struct_type.fields { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/binary/encoder.rs:167:37 [INFO] [stderr] | [INFO] [stderr] 167 | fn encode_account_id(&mut self, x: AccountID) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `enum_type` [INFO] [stderr] --> src/binary/encoder.rs:172:39 [INFO] [stderr] | [INFO] [stderr] 172 | fn encode_enum(&mut self, x: i32, enum_type: &EnumType) -> Result<(), EncodeError> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_type` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/binary/encoder.rs:176:31 [INFO] [stderr] | [INFO] [stderr] 176 | fn encode_bool(&mut self, x: bool) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/binary/encoder.rs:181:29 [INFO] [stderr] | [INFO] [stderr] 181 | fn encode_u8(&mut self, x: u8) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/binary/encoder.rs:186:30 [INFO] [stderr] | [INFO] [stderr] 186 | fn encode_u16(&mut self, x: u16) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/binary/encoder.rs:191:29 [INFO] [stderr] | [INFO] [stderr] 191 | fn encode_i8(&mut self, x: i8) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/binary/encoder.rs:196:30 [INFO] [stderr] | [INFO] [stderr] 196 | fn encode_i16(&mut self, x: i16) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/binary/encoder.rs:201:30 [INFO] [stderr] | [INFO] [stderr] 201 | fn encode_i64(&mut self, x: i64) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/binary/encoder.rs:206:31 [INFO] [stderr] | [INFO] [stderr] 206 | fn encode_i128(&mut self, x: i128) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/binary/encoder.rs:332:30 [INFO] [stderr] | [INFO] [stderr] 332 | fn encode_u32(&mut self, x: u32) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/binary/encoder.rs:337:30 [INFO] [stderr] | [INFO] [stderr] 337 | fn encode_i32(&mut self, x: i32) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/binary/encoder.rs:342:30 [INFO] [stderr] | [INFO] [stderr] 342 | fn encode_u64(&mut self, x: u64) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/binary/encoder.rs:366:37 [INFO] [stderr] | [INFO] [stderr] 366 | fn encode_account_id(&mut self, x: AccountID) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/binary/encoder.rs:371:31 [INFO] [stderr] | [INFO] [stderr] 371 | fn encode_bool(&mut self, x: bool) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/binary/encoder.rs:376:29 [INFO] [stderr] | [INFO] [stderr] 376 | fn encode_u8(&mut self, x: u8) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/binary/encoder.rs:381:30 [INFO] [stderr] | [INFO] [stderr] 381 | fn encode_u16(&mut self, x: u16) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/binary/encoder.rs:386:29 [INFO] [stderr] | [INFO] [stderr] 386 | fn encode_i8(&mut self, x: i8) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/binary/encoder.rs:391:30 [INFO] [stderr] | [INFO] [stderr] 391 | fn encode_i16(&mut self, x: i16) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/binary/encoder.rs:396:30 [INFO] [stderr] | [INFO] [stderr] 396 | fn encode_i64(&mut self, x: i64) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/binary/encoder.rs:401:31 [INFO] [stderr] | [INFO] [stderr] 401 | fn encode_i128(&mut self, x: i128) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `enum_type` [INFO] [stderr] --> src/encoder.rs:49:39 [INFO] [stderr] | [INFO] [stderr] 49 | fn encode_enum(&mut self, x: i32, enum_type: &EnumType) -> Result<(), EncodeError> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enum_type` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/encoder.rs:80:13 [INFO] [stderr] | [INFO] [stderr] 80 | fn from(value: EncodeError) -> Self { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ptr` [INFO] [stderr] --> src/bump.rs:60:33 [INFO] [stderr] | [INFO] [stderr] 60 | unsafe fn deallocate(&self, ptr: NonNull, layout: Layout) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ptr` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `layout` [INFO] [stderr] --> src/bump.rs:60:51 [INFO] [stderr] | [INFO] [stderr] 60 | unsafe fn deallocate(&self, ptr: NonNull, layout: Layout) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/json/encoder.rs:13:30 [INFO] [stderr] | [INFO] [stderr] 13 | fn encode_u32(&mut self, x: u32) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/json/encoder.rs:17:30 [INFO] [stderr] | [INFO] [stderr] 17 | fn encode_i32(&mut self, x: i32) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/json/encoder.rs:21:30 [INFO] [stderr] | [INFO] [stderr] 21 | fn encode_u64(&mut self, x: u64) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/json/encoder.rs:25:31 [INFO] [stderr] | [INFO] [stderr] 25 | fn encode_u128(&mut self, x: u128) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/json/encoder.rs:29:30 [INFO] [stderr] | [INFO] [stderr] 29 | fn encode_str(&mut self, x: &str) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `visitor` [INFO] [stderr] --> src/json/encoder.rs:33:31 [INFO] [stderr] | [INFO] [stderr] 33 | fn encode_list(&mut self, visitor: &dyn ListEncodeVisitor) -> Result<(), EncodeError> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `visitor` [INFO] [stderr] --> src/json/encoder.rs:37:33 [INFO] [stderr] | [INFO] [stderr] 37 | fn encode_struct(&mut self, visitor: &dyn StructEncodeVisitor, struct_type: &StructType) -> Result<(), EncodeError> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `struct_type` [INFO] [stderr] --> src/json/encoder.rs:37:68 [INFO] [stderr] | [INFO] [stderr] 37 | fn encode_struct(&mut self, visitor: &dyn StructEncodeVisitor, struct_type: &StructType) -> Result<(), EncodeError> { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_type` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/json/encoder.rs:41:37 [INFO] [stderr] | [INFO] [stderr] 41 | fn encode_account_id(&mut self, x: AccountID) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/json/encoder.rs:45:31 [INFO] [stderr] | [INFO] [stderr] 45 | fn encode_bool(&mut self, x: bool) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/json/encoder.rs:49:29 [INFO] [stderr] | [INFO] [stderr] 49 | fn encode_u8(&mut self, x: u8) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/json/encoder.rs:53:30 [INFO] [stderr] | [INFO] [stderr] 53 | fn encode_u16(&mut self, x: u16) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/json/encoder.rs:57:29 [INFO] [stderr] | [INFO] [stderr] 57 | fn encode_i8(&mut self, x: i8) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/json/encoder.rs:61:30 [INFO] [stderr] | [INFO] [stderr] 61 | fn encode_i16(&mut self, x: i16) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/json/encoder.rs:65:30 [INFO] [stderr] | [INFO] [stderr] 65 | fn encode_i64(&mut self, x: i64) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/json/encoder.rs:69:31 [INFO] [stderr] | [INFO] [stderr] 69 | fn encode_i128(&mut self, x: i128) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/json/encoder.rs:73:32 [INFO] [stderr] | [INFO] [stderr] 73 | fn encode_bytes(&mut self, x: &[u8]) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/json/encoder.rs:77:31 [INFO] [stderr] | [INFO] [stderr] 77 | fn encode_time(&mut self, x: Time) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/json/encoder.rs:81:35 [INFO] [stderr] | [INFO] [stderr] 81 | fn encode_duration(&mut self, x: Duration) -> Result<(), EncodeError> { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `visitor` [INFO] [stderr] --> src/json/encoder.rs:85:33 [INFO] [stderr] | [INFO] [stderr] 85 | fn encode_option(&mut self, visitor: Option<&dyn ValueEncodeVisitor>) -> Result<(), EncodeError> { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visitor` [INFO] [stderr] [INFO] [stderr] warning: trait `types::ListElementType` is more private than the item `ListElementValue` [INFO] [stderr] --> src/value.rs:388:1 [INFO] [stderr] | [INFO] [stderr] 388 | pub trait ListElementValue<'a>: SchemaValue<'a> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ trait `ListElementValue` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but trait `types::ListElementType` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/types.rs:65:1 [INFO] [stderr] | [INFO] [stderr] 65 | pub(crate) trait ListElementType: Type {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_bounds)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait `Private` is more private than the item `types::Type` [INFO] [stderr] --> src/types.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | pub trait Type: Private { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ trait `types::Type` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but trait `Private` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/types.rs:46:1 [INFO] [stderr] | [INFO] [stderr] 46 | trait Private {} [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `types::ListElementType` is more private than the item `types::ListT` [INFO] [stderr] --> src/types.rs:197:1 [INFO] [stderr] | [INFO] [stderr] 197 | pub struct ListT { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ struct `types::ListT` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but trait `types::ListElementType` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/types.rs:65:1 [INFO] [stderr] | [INFO] [stderr] 65 | pub(crate) trait ListElementType: Type {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `EnumNumericType` is more private than the item `EnumSchema::NumericType` [INFO] [stderr] --> src/enums.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | type NumericType: EnumNumericType; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated type `EnumSchema::NumericType` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but trait `EnumNumericType` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/enums.rs:52:1 [INFO] [stderr] | [INFO] [stderr] 52 | trait EnumNumericType: Type {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `encode_enum` is never used [INFO] [stderr] --> src/enums.rs:59:4 [INFO] [stderr] | [INFO] [stderr] 59 | fn encode_enum(x: &E, encoder: &mut dyn Encoder) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `decode_enum` is never used [INFO] [stderr] --> src/enums.rs:68:4 [INFO] [stderr] | [INFO] [stderr] 68 | fn decode_enum(decoder: &mut dyn Decoder) -> Result [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant `N` is never used [INFO] [stderr] --> src/fields.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 4 | pub trait FieldTypes { [INFO] [stderr] | ---------- associated constant in this trait [INFO] [stderr] 5 | const N: usize; [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: struct `Encoder` is never constructed [INFO] [stderr] --> src/json/encoder.rs:8:8 [INFO] [stderr] | [INFO] [stderr] 8 | struct Encoder { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/state_object/key_field.rs:231:9 [INFO] [stderr] | [INFO] [stderr] 231 | writer.write(&[0]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 231 | let _ = writer.write(&[0]); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/buffer.rs:13:20 [INFO] [stderr] | [INFO] [stderr] 13 | fn new_reverse(&self, size: usize) -> Result; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 13 | fn new_reverse(&self, size: usize) -> Result, EncodeError>; [INFO] [stdout] [INFO] [stderr] | ++++ [INFO] [stdout] running 8 tests [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/buffer.rs:25:20 [INFO] [stderr] | [INFO] [stderr] 25 | fn new_reverse(&self, size: usize) -> Result { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 25 | fn new_reverse(&self, size: usize) -> Result, EncodeError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/buffer.rs:39:20 [INFO] [stderr] | [INFO] [stderr] 39 | fn new_reverse(&self, size: usize) -> Result { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 39 | fn new_reverse(&self, size: usize) -> Result, EncodeError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `ixc_schema` (lib) generated 142 warnings (run `cargo fix --lib -p ixc_schema` to apply 20 suggestions) [INFO] [stderr] warning: unused import: `ixc_message_api::handler::Allocator` [INFO] [stderr] --> src/value.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use ixc_message_api::handler::Allocator; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `ixc_message_api::packet::MessagePacket` [INFO] [stderr] --> src/value.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use ixc_message_api::packet::MessagePacket; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `allocator_api2::alloc::Allocator` [INFO] [stderr] --> src/binary/decoder.rs:276:9 [INFO] [stderr] | [INFO] [stderr] 276 | use allocator_api2::alloc::Allocator; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::binary::decoder::decode_value` [INFO] [stderr] --> src/binary/decoder.rs:277:9 [INFO] [stderr] | [INFO] [stderr] 277 | use crate::binary::decoder::decode_value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `DecodeError` [INFO] [stderr] --> src/binary/decoder.rs:279:26 [INFO] [stderr] | [INFO] [stderr] 279 | use crate::decoder::{DecodeError, Decoder}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `EncodeError` [INFO] [stderr] --> src/binary/decoder.rs:280:26 [INFO] [stderr] | [INFO] [stderr] 280 | use crate::encoder::{EncodeError, Encoder}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::field::Field` [INFO] [stderr] --> src/binary/decoder.rs:281:9 [INFO] [stderr] | [INFO] [stderr] 281 | use crate::field::Field; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::schema::SchemaType` [INFO] [stderr] --> src/binary/decoder.rs:283:9 [INFO] [stderr] | [INFO] [stderr] 283 | use crate::schema::SchemaType; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::state_object::ObjectFieldValue` [INFO] [stderr] --> src/binary/decoder.rs:284:9 [INFO] [stderr] | [INFO] [stderr] 284 | use crate::state_object::ObjectFieldValue; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `StructDecodeVisitor`, `StructEncodeVisitor`, `StructSchema`, and `StructType` [INFO] [stderr] --> src/binary/decoder.rs:285:26 [INFO] [stderr] | [INFO] [stderr] 285 | use crate::structs::{StructDecodeVisitor, StructEncodeVisitor, StructSchema, StructType}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ReferenceableType`, `StrT`, `StructT`, `UIntNT`, and `to_field` [INFO] [stderr] --> src/binary/decoder.rs:286:24 [INFO] [stderr] | [INFO] [stderr] 286 | use crate::types::{to_field, ReferenceableType, StrT, StructT, UIntNT}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^ ^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ListElementValue` and `SchemaValue` [INFO] [stderr] --> src/binary/decoder.rs:287:24 [INFO] [stderr] | [INFO] [stderr] 287 | use crate::value::{ListElementValue, SchemaValue}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Duration` and `Time` [INFO] [stderr] --> src/binary/mod.rs:37:23 [INFO] [stderr] | [INFO] [stderr] 37 | use simple_time::{Duration, Time}; [INFO] [stderr] | ^^^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Encoder` [INFO] [stderr] --> src/binary/decoder.rs:280:39 [INFO] [stderr] | [INFO] [stderr] 280 | use crate::encoder::{EncodeError, Encoder}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Decoder` [INFO] [stderr] --> src/binary/decoder.rs:279:39 [INFO] [stderr] | [INFO] [stderr] 279 | use crate::decoder::{DecodeError, Decoder}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/binary/decoder.rs:296:13 [INFO] [stderr] | [INFO] [stderr] 296 | let mut mem = MemoryManager::new(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/binary/decoder.rs:304:13 [INFO] [stderr] | [INFO] [stderr] 304 | let mut mem = MemoryManager::new(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/binary/decoder.rs:312:13 [INFO] [stderr] | [INFO] [stderr] 312 | let mut mem = MemoryManager::new(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `ixc_schema` (lib test) generated 158 warnings (140 duplicates) (run `cargo fix --lib -p ixc_schema --tests` to apply 16 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ixc_schema-fa7089d0906187a6) [INFO] [stdout] test binary::decoder::tests::test_coin ... ok [INFO] [stdout] test binary::encoder::tests::test_u32_encode ... ok [INFO] [stdout] test binary::encoder::tests::test_u32_size ... ok [INFO] [stdout] test binary::decoder::tests::test_decode_owned_string ... ok [INFO] [stdout] test binary::decoder::tests::test_coins ... ok [INFO] [stdout] test binary::decoder::tests::test_decode_borrowed_string ... ok [INFO] [stdout] test binary::decoder::tests::test_u32_decode ... ok [INFO] [stdout] test binary::tests::test_roundtrip ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.46s [INFO] [stdout] [INFO] [stderr] Doc-tests ixc_schema [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 40) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1a14ce322c2467af09590795eda59d35bc9f164f97f2ce713dc5ac4c11592094", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a14ce322c2467af09590795eda59d35bc9f164f97f2ce713dc5ac4c11592094", kill_on_drop: false }` [INFO] [stdout] 1a14ce322c2467af09590795eda59d35bc9f164f97f2ce713dc5ac4c11592094