[INFO] fetching crate simple-sbe 0.0.0... [INFO] building simple-sbe-0.0.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate simple-sbe 0.0.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate simple-sbe 0.0.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate simple-sbe 0.0.0 [INFO] tweaked toml for crates.io crate simple-sbe 0.0.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate simple-sbe 0.0.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate simple-sbe 0.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.99 [INFO] [stderr] Downloaded thiserror-impl v2.0.15 [INFO] [stderr] Downloaded thiserror v2.0.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95f47e10ecd8b3278ad007ec2b00e39a685ea53452da76063e6d9a0d0d9de3d6 [INFO] running `Command { std: "docker" "start" "-a" "95f47e10ecd8b3278ad007ec2b00e39a685ea53452da76063e6d9a0d0d9de3d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95f47e10ecd8b3278ad007ec2b00e39a685ea53452da76063e6d9a0d0d9de3d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95f47e10ecd8b3278ad007ec2b00e39a685ea53452da76063e6d9a0d0d9de3d6", kill_on_drop: false }` [INFO] [stdout] 95f47e10ecd8b3278ad007ec2b00e39a685ea53452da76063e6d9a0d0d9de3d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a2aa6babb417fb5ab4ccaa73dc2cdac75bbcd5cd3a21e1e585832568c749504 [INFO] running `Command { std: "docker" "start" "-a" "5a2aa6babb417fb5ab4ccaa73dc2cdac75bbcd5cd3a21e1e585832568c749504", kill_on_drop: false }` [INFO] [stderr] Compiling thiserror v2.0.15 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling thiserror-impl v2.0.15 [INFO] [stderr] Compiling simple-sbe v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `encoder::FrameCodecEncoder` [INFO] [stdout] --> src/codec/frame_codec_codec.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use encoder::FrameCodecEncoder; [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: `super::SBE_SEMANTIC_VERSION` [INFO] [stdout] --> src/codec/frame_codec_codec.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use super::SBE_SEMANTIC_VERSION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `encoder::TokenCodecEncoder` [INFO] [stdout] --> src/codec/token_codec_codec.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use encoder::TokenCodecEncoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::SBE_SEMANTIC_VERSION` [INFO] [stdout] --> src/codec/token_codec_codec.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use super::SBE_SEMANTIC_VERSION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decoder::VarDataEncodingDecoder` [INFO] [stdout] --> src/codec/var_data_encoding_codec.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use decoder::VarDataEncodingDecoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `encoder::VarDataEncodingEncoder` [INFO] [stdout] --> src/codec/var_data_encoding_codec.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use encoder::VarDataEncodingEncoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/token.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::{Debug, Display, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/decode.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | mut tokens: &'t [Token], [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: unused variable: `end` [INFO] [stdout] --> src/decode.rs:253:21 [INFO] [stdout] | [INFO] [stdout] 253 | let end = off + type_tok.encoding.primitive_type.size(); //TODO: add count? [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 253 | let _end = off + type_tok.encoding.primitive_type.size(); //TODO: add count? [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ENCODED_LENGTH` [INFO] [stdout] | [INFO] [stdout] 253 - let end = off + type_tok.encoding.primitive_type.size(); //TODO: add count? [INFO] [stdout] 253 + let codec::message_header_codec::ENCODED_LENGTH = off + type_tok.encoding.primitive_type.size(); //TODO: add count? [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/decode.rs:340:21 [INFO] [stdout] | [INFO] [stdout] 340 | let name = &type_tok.name; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/decode.rs:344:21 [INFO] [stdout] | [INFO] [stdout] 344 | let p = PrimitiveValue::new(type_tok.encoding.primitive_type, seg); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/otf/listener.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | token: &Token, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_in_group` [INFO] [stdout] --> src/otf/listener.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | num_in_group: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 221 | _num_in_group: usize, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ENCODED_LENGTH` [INFO] [stdout] | [INFO] [stdout] 221 - num_in_group: usize, [INFO] [stdout] 221 + codec::message_header_codec::ENCODED_LENGTH: usize, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/otf/listener.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | token: &Token, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_index` [INFO] [stdout] --> src/otf/listener.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | group_index: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 229 | _group_index: usize, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ENCODED_LENGTH` [INFO] [stdout] | [INFO] [stdout] 229 - group_index: usize, [INFO] [stdout] 229 + codec::message_header_codec::ENCODED_LENGTH: usize, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_in_group` [INFO] [stdout] --> src/otf/listener.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | num_in_group: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 230 | _num_in_group: usize, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ENCODED_LENGTH` [INFO] [stdout] | [INFO] [stdout] 230 - num_in_group: usize, [INFO] [stdout] 230 + codec::message_header_codec::ENCODED_LENGTH: usize, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SBE_SCHEMA_ID` is never used [INFO] [stdout] --> src/codec/mod.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const SBE_SCHEMA_ID: u16 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SBE_SEMANTIC_VERSION` is never used [INFO] [stdout] --> src/codec/mod.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const SBE_SEMANTIC_VERSION: &str = ""; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SbeResult` is never used [INFO] [stdout] --> src/codec/mod.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub type SbeResult = core::result::Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SbeErr` is never used [INFO] [stdout] --> src/codec/mod.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum SbeErr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Either` is never used [INFO] [stdout] --> src/codec/mod.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum Either { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Writer` is never used [INFO] [stdout] --> src/codec/mod.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait Writer<'a>: Sized { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Encoder` is never used [INFO] [stdout] --> src/codec/mod.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait Encoder<'a>: Writer<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ActingVersion` is never used [INFO] [stdout] --> src/codec/mod.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | pub trait ActingVersion { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SBE_TEMPLATE_ID` is never used [INFO] [stdout] --> src/codec/frame_codec_codec.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const SBE_TEMPLATE_ID: u16 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FrameCodecEncoder` is never constructed [INFO] [stdout] --> src/codec/frame_codec_codec.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct FrameCodecEncoder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/codec/frame_codec_codec.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 44 | impl<'a> FrameCodecEncoder<'a> { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] 45 | pub fn wrap(mut self, buf: WriteBuf<'a>, offset: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn encoded_length(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn header(self, offset: usize) -> MessageHeaderEncoder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn ir_id(&mut self, value: i32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn ir_version(&mut self, value: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn schema_version(&mut self, value: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn package_name(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn namespace_name(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn semantic_version(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `header` is never used [INFO] [stdout] --> src/codec/frame_codec_codec.rs:208:16 [INFO] [stdout] | [INFO] [stdout] 185 | impl<'a> FrameCodecDecoder<'a> { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn header(self, mut header: MessageHeaderDecoder>, offset: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENCODED_LENGTH` is never used [INFO] [stdout] --> src/codec/message_header_codec.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const ENCODED_LENGTH: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageHeaderEncoder` is never constructed [INFO] [stdout] --> src/codec/message_header_codec.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MessageHeaderEncoder

{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wrap`, `parent`, `block_length`, `template_id`, `schema_id`, and `version` are never used [INFO] [stdout] --> src/codec/message_header_codec.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 31 | / impl<'a, P> MessageHeaderEncoder

[INFO] [stdout] 32 | | where [INFO] [stdout] 33 | | P: Writer<'a> + Default, [INFO] [stdout] | |________________________________- methods in this implementation [INFO] [stdout] 34 | { [INFO] [stdout] 35 | pub fn wrap(mut self, parent: P, offset: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn parent(&mut self) -> SbeResult

{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn block_length(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn template_id(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn schema_id(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn version(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageHeaderDecoder` is never constructed [INFO] [stdout] --> src/codec/message_header_codec.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct MessageHeaderDecoder

{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wrap`, `parent`, `block_length`, `template_id`, `schema_id`, and `version` are never used [INFO] [stdout] --> src/codec/message_header_codec.rs:141:16 [INFO] [stdout] | [INFO] [stdout] 137 | / impl<'a, P> MessageHeaderDecoder

[INFO] [stdout] 138 | | where [INFO] [stdout] 139 | | P: Reader<'a> + Default, [INFO] [stdout] | |________________________________- methods in this implementation [INFO] [stdout] 140 | { [INFO] [stdout] 141 | pub fn wrap(mut self, parent: P, offset: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn parent(&mut self) -> SbeResult

{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn block_length(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn template_id(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn schema_id(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn version(&self) -> u16 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SBE_TEMPLATE_ID` is never used [INFO] [stdout] --> src/codec/token_codec_codec.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const SBE_TEMPLATE_ID: u16 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenCodecEncoder` is never constructed [INFO] [stdout] --> src/codec/token_codec_codec.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct TokenCodecEncoder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/codec/token_codec_codec.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 44 | impl<'a> TokenCodecEncoder<'a> { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] 45 | pub fn wrap(mut self, buf: WriteBuf<'a>, offset: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn encoded_length(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn header(self, offset: usize) -> MessageHeaderEncoder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn token_offset(&mut self, value: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn token_size(&mut self, value: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn field_id(&mut self, value: i32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn token_version(&mut self, value: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn component_token_count(&mut self, value: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn signal(&mut self, value: signal_codec::SignalCodec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn primitive_type(&mut self, value: primitive_type_codec::PrimitiveTypeCodec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn byte_order(&mut self, value: byte_order_codec::ByteOrderCodec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn presence(&mut self, value: presence_codec::PresenceCodec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn deprecated(&mut self, value: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn name(&mut self, value: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn const_value(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn min_value(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn max_value(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn null_value(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn character_encoding(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn epoch(&mut self, value: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn time_unit(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | pub fn semantic_type(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub fn description(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | pub fn referenced_name(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `header` is never used [INFO] [stdout] --> src/codec/token_codec_codec.rs:361:16 [INFO] [stdout] | [INFO] [stdout] 338 | impl<'a> TokenCodecDecoder<'a> { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 361 | pub fn header(self, mut header: MessageHeaderDecoder>, offset: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VarDataEncodingEncoder` is never constructed [INFO] [stdout] --> src/codec/var_data_encoding_codec.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct VarDataEncodingEncoder

{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wrap`, `parent`, `length`, and `var_data` are never used [INFO] [stdout] --> src/codec/var_data_encoding_codec.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 29 | / impl<'a, P> VarDataEncodingEncoder

[INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | P: Writer<'a> + Default, [INFO] [stdout] | |________________________________- methods in this implementation [INFO] [stdout] 32 | { [INFO] [stdout] 33 | pub fn wrap(mut self, parent: P, offset: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn parent(&mut self) -> SbeResult

{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn length(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn var_data(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VarDataEncodingDecoder` is never constructed [INFO] [stdout] --> src/codec/var_data_encoding_codec.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct VarDataEncodingDecoder

{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wrap`, `parent`, `length`, and `var_data` are never used [INFO] [stdout] --> src/codec/var_data_encoding_codec.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 105 | / impl<'a, P> VarDataEncodingDecoder

[INFO] [stdout] 106 | | where [INFO] [stdout] 107 | | P: Reader<'a> + Default, [INFO] [stdout] | |________________________________- methods in this implementation [INFO] [stdout] 108 | { [INFO] [stdout] 109 | pub fn wrap(mut self, parent: P, offset: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn parent(&mut self) -> SbeResult

{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn length(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn var_data(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Integer` and `Float` are never constructed [INFO] [stdout] --> src/token.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 186 | enum Representation { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 187 | Integer(u64), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 188 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Representation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/token.rs:264:22 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn to_string(&self) -> Cow { [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] 264 | pub fn to_string(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.74s [INFO] running `Command { std: "docker" "inspect" "5a2aa6babb417fb5ab4ccaa73dc2cdac75bbcd5cd3a21e1e585832568c749504", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a2aa6babb417fb5ab4ccaa73dc2cdac75bbcd5cd3a21e1e585832568c749504", kill_on_drop: false }` [INFO] [stdout] 5a2aa6babb417fb5ab4ccaa73dc2cdac75bbcd5cd3a21e1e585832568c749504 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2c3a89d99e66299e8b6109fd2723c2b576e917ace83b132e675c7da04cc0546 [INFO] running `Command { std: "docker" "start" "-a" "a2c3a89d99e66299e8b6109fd2723c2b576e917ace83b132e675c7da04cc0546", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `encoder::FrameCodecEncoder` [INFO] [stdout] --> src/codec/frame_codec_codec.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use encoder::FrameCodecEncoder; [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: `super::SBE_SEMANTIC_VERSION` [INFO] [stdout] --> src/codec/frame_codec_codec.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use super::SBE_SEMANTIC_VERSION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `encoder::TokenCodecEncoder` [INFO] [stdout] --> src/codec/token_codec_codec.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use encoder::TokenCodecEncoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::SBE_SEMANTIC_VERSION` [INFO] [stdout] --> src/codec/token_codec_codec.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use super::SBE_SEMANTIC_VERSION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decoder::VarDataEncodingDecoder` [INFO] [stdout] --> src/codec/var_data_encoding_codec.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use decoder::VarDataEncodingDecoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `encoder::VarDataEncodingEncoder` [INFO] [stdout] --> src/codec/var_data_encoding_codec.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use encoder::VarDataEncodingEncoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/token.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::{Debug, Display, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/decode.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | mut tokens: &'t [Token], [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: unused variable: `end` [INFO] [stdout] --> src/decode.rs:253:21 [INFO] [stdout] | [INFO] [stdout] 253 | let end = off + type_tok.encoding.primitive_type.size(); //TODO: add count? [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 253 | let _end = off + type_tok.encoding.primitive_type.size(); //TODO: add count? [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ENCODED_LENGTH` [INFO] [stdout] | [INFO] [stdout] 253 - let end = off + type_tok.encoding.primitive_type.size(); //TODO: add count? [INFO] [stdout] 253 + let codec::message_header_codec::ENCODED_LENGTH = off + type_tok.encoding.primitive_type.size(); //TODO: add count? [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/decode.rs:340:21 [INFO] [stdout] | [INFO] [stdout] 340 | let name = &type_tok.name; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/decode.rs:344:21 [INFO] [stdout] | [INFO] [stdout] 344 | let p = PrimitiveValue::new(type_tok.encoding.primitive_type, seg); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/otf/listener.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | token: &Token, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_in_group` [INFO] [stdout] --> src/otf/listener.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | num_in_group: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 221 | _num_in_group: usize, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ENCODED_LENGTH` [INFO] [stdout] | [INFO] [stdout] 221 - num_in_group: usize, [INFO] [stdout] 221 + codec::message_header_codec::ENCODED_LENGTH: usize, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/otf/listener.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | token: &Token, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_index` [INFO] [stdout] --> src/otf/listener.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | group_index: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 229 | _group_index: usize, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ENCODED_LENGTH` [INFO] [stdout] | [INFO] [stdout] 229 - group_index: usize, [INFO] [stdout] 229 + codec::message_header_codec::ENCODED_LENGTH: usize, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_in_group` [INFO] [stdout] --> src/otf/listener.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | num_in_group: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 230 | _num_in_group: usize, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ENCODED_LENGTH` [INFO] [stdout] | [INFO] [stdout] 230 - num_in_group: usize, [INFO] [stdout] 230 + codec::message_header_codec::ENCODED_LENGTH: usize, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SBE_SCHEMA_ID` is never used [INFO] [stdout] --> src/codec/mod.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const SBE_SCHEMA_ID: u16 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SBE_SEMANTIC_VERSION` is never used [INFO] [stdout] --> src/codec/mod.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const SBE_SEMANTIC_VERSION: &str = ""; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SbeResult` is never used [INFO] [stdout] --> src/codec/mod.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub type SbeResult = core::result::Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SbeErr` is never used [INFO] [stdout] --> src/codec/mod.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum SbeErr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Either` is never used [INFO] [stdout] --> src/codec/mod.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum Either { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Writer` is never used [INFO] [stdout] --> src/codec/mod.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait Writer<'a>: Sized { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Encoder` is never used [INFO] [stdout] --> src/codec/mod.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait Encoder<'a>: Writer<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ActingVersion` is never used [INFO] [stdout] --> src/codec/mod.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | pub trait ActingVersion { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SBE_TEMPLATE_ID` is never used [INFO] [stdout] --> src/codec/frame_codec_codec.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const SBE_TEMPLATE_ID: u16 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FrameCodecEncoder` is never constructed [INFO] [stdout] --> src/codec/frame_codec_codec.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct FrameCodecEncoder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/codec/frame_codec_codec.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 44 | impl<'a> FrameCodecEncoder<'a> { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] 45 | pub fn wrap(mut self, buf: WriteBuf<'a>, offset: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn encoded_length(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn header(self, offset: usize) -> MessageHeaderEncoder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn ir_id(&mut self, value: i32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn ir_version(&mut self, value: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn schema_version(&mut self, value: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn package_name(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn namespace_name(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn semantic_version(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `header` is never used [INFO] [stdout] --> src/codec/frame_codec_codec.rs:208:16 [INFO] [stdout] | [INFO] [stdout] 185 | impl<'a> FrameCodecDecoder<'a> { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn header(self, mut header: MessageHeaderDecoder>, offset: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENCODED_LENGTH` is never used [INFO] [stdout] --> src/codec/message_header_codec.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const ENCODED_LENGTH: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageHeaderEncoder` is never constructed [INFO] [stdout] --> src/codec/message_header_codec.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MessageHeaderEncoder

{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wrap`, `parent`, `block_length`, `template_id`, `schema_id`, and `version` are never used [INFO] [stdout] --> src/codec/message_header_codec.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 31 | / impl<'a, P> MessageHeaderEncoder

[INFO] [stdout] 32 | | where [INFO] [stdout] 33 | | P: Writer<'a> + Default, [INFO] [stdout] | |________________________________- methods in this implementation [INFO] [stdout] 34 | { [INFO] [stdout] 35 | pub fn wrap(mut self, parent: P, offset: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn parent(&mut self) -> SbeResult

{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn block_length(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn template_id(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn schema_id(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn version(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageHeaderDecoder` is never constructed [INFO] [stdout] --> src/codec/message_header_codec.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct MessageHeaderDecoder

{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wrap`, `parent`, `block_length`, `template_id`, `schema_id`, and `version` are never used [INFO] [stdout] --> src/codec/message_header_codec.rs:141:16 [INFO] [stdout] | [INFO] [stdout] 137 | / impl<'a, P> MessageHeaderDecoder

[INFO] [stdout] 138 | | where [INFO] [stdout] 139 | | P: Reader<'a> + Default, [INFO] [stdout] | |________________________________- methods in this implementation [INFO] [stdout] 140 | { [INFO] [stdout] 141 | pub fn wrap(mut self, parent: P, offset: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn parent(&mut self) -> SbeResult

{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn block_length(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn template_id(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn schema_id(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn version(&self) -> u16 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SBE_TEMPLATE_ID` is never used [INFO] [stdout] --> src/codec/token_codec_codec.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const SBE_TEMPLATE_ID: u16 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenCodecEncoder` is never constructed [INFO] [stdout] --> src/codec/token_codec_codec.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct TokenCodecEncoder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/codec/token_codec_codec.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 44 | impl<'a> TokenCodecEncoder<'a> { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] 45 | pub fn wrap(mut self, buf: WriteBuf<'a>, offset: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn encoded_length(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn header(self, offset: usize) -> MessageHeaderEncoder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn token_offset(&mut self, value: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn token_size(&mut self, value: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn field_id(&mut self, value: i32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn token_version(&mut self, value: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn component_token_count(&mut self, value: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn signal(&mut self, value: signal_codec::SignalCodec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn primitive_type(&mut self, value: primitive_type_codec::PrimitiveTypeCodec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn byte_order(&mut self, value: byte_order_codec::ByteOrderCodec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn presence(&mut self, value: presence_codec::PresenceCodec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn deprecated(&mut self, value: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn name(&mut self, value: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn const_value(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn min_value(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn max_value(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn null_value(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn character_encoding(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn epoch(&mut self, value: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn time_unit(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | pub fn semantic_type(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub fn description(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | pub fn referenced_name(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `header` is never used [INFO] [stdout] --> src/codec/token_codec_codec.rs:361:16 [INFO] [stdout] | [INFO] [stdout] 338 | impl<'a> TokenCodecDecoder<'a> { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 361 | pub fn header(self, mut header: MessageHeaderDecoder>, offset: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VarDataEncodingEncoder` is never constructed [INFO] [stdout] --> src/codec/var_data_encoding_codec.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct VarDataEncodingEncoder

{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wrap`, `parent`, `length`, and `var_data` are never used [INFO] [stdout] --> src/codec/var_data_encoding_codec.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 29 | / impl<'a, P> VarDataEncodingEncoder

[INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | P: Writer<'a> + Default, [INFO] [stdout] | |________________________________- methods in this implementation [INFO] [stdout] 32 | { [INFO] [stdout] 33 | pub fn wrap(mut self, parent: P, offset: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn parent(&mut self) -> SbeResult

{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn length(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn var_data(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VarDataEncodingDecoder` is never constructed [INFO] [stdout] --> src/codec/var_data_encoding_codec.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct VarDataEncodingDecoder

{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wrap`, `parent`, `length`, and `var_data` are never used [INFO] [stdout] --> src/codec/var_data_encoding_codec.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 105 | / impl<'a, P> VarDataEncodingDecoder

[INFO] [stdout] 106 | | where [INFO] [stdout] 107 | | P: Reader<'a> + Default, [INFO] [stdout] | |________________________________- methods in this implementation [INFO] [stdout] 108 | { [INFO] [stdout] 109 | pub fn wrap(mut self, parent: P, offset: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn parent(&mut self) -> SbeResult

{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn length(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn var_data(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Integer` and `Float` are never constructed [INFO] [stdout] --> src/token.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 186 | enum Representation { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 187 | Integer(u64), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 188 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Representation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/token.rs:264:22 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn to_string(&self) -> Cow { [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] 264 | pub fn to_string(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling simple-sbe v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `encoder::FrameCodecEncoder` [INFO] [stdout] --> src/codec/frame_codec_codec.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use encoder::FrameCodecEncoder; [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: `super::SBE_SEMANTIC_VERSION` [INFO] [stdout] --> src/codec/frame_codec_codec.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use super::SBE_SEMANTIC_VERSION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `encoder::TokenCodecEncoder` [INFO] [stdout] --> src/codec/token_codec_codec.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use encoder::TokenCodecEncoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::SBE_SEMANTIC_VERSION` [INFO] [stdout] --> src/codec/token_codec_codec.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use super::SBE_SEMANTIC_VERSION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decoder::VarDataEncodingDecoder` [INFO] [stdout] --> src/codec/var_data_encoding_codec.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use decoder::VarDataEncodingDecoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `encoder::VarDataEncodingEncoder` [INFO] [stdout] --> src/codec/var_data_encoding_codec.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub use encoder::VarDataEncodingEncoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ByteOrder`, `Encoding`, `PrimitiveType`, and `Signal` [INFO] [stdout] --> examples/dec.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | ByteOrder, Encoding, Presence, PrimitiveType, PrimitiveValue, Signal, Token, [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 variable: `msg_buf` [INFO] [stdout] --> examples/dec.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let msg_buf = decode_message(&tokens, msg_buf, h.block_length, h.version as i32, &mut l); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_msg_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> examples/dec.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | fn on_end_message(&mut self, token: &Token) -> Result<(), TokenListenerError> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `acting_version` [INFO] [stdout] --> examples/dec.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | acting_version: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_acting_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `acting_version` [INFO] [stdout] --> examples/dec.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | acting_version: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_acting_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> examples/dec.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | tokens: &[Token], [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field_token` [INFO] [stdout] --> examples/dec.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | field_token: &Token, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_field_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> examples/dec.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | tokens: &[Token], [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_index` [INFO] [stdout] --> examples/dec.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | group_index: usize, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_in_group` [INFO] [stdout] --> examples/dec.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | num_in_group: usize, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_in_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> examples/dec.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | token: &Token, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_index` [INFO] [stdout] --> examples/dec.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | group_index: i32, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_group_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_in_group` [INFO] [stdout] --> examples/dec.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | num_in_group: i32, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_in_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buffer` [INFO] [stdout] --> examples/dec.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | buffer: &[u8], [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encoding_as_string` is never used [INFO] [stdout] --> examples/dec.rs:265:8 [INFO] [stdout] | [INFO] [stdout] 243 | impl MyListener { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 265 | fn encoding_as_string( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/token.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fmt::{Debug, Display, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/decode.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | mut tokens: &'t [Token], [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: unused variable: `end` [INFO] [stdout] --> src/decode.rs:253:21 [INFO] [stdout] | [INFO] [stdout] 253 | let end = off + type_tok.encoding.primitive_type.size(); //TODO: add count? [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 253 | let _end = off + type_tok.encoding.primitive_type.size(); //TODO: add count? [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ENCODED_LENGTH` [INFO] [stdout] | [INFO] [stdout] 253 - let end = off + type_tok.encoding.primitive_type.size(); //TODO: add count? [INFO] [stdout] 253 + let codec::message_header_codec::ENCODED_LENGTH = off + type_tok.encoding.primitive_type.size(); //TODO: add count? [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/decode.rs:340:21 [INFO] [stdout] | [INFO] [stdout] 340 | let name = &type_tok.name; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/decode.rs:344:21 [INFO] [stdout] | [INFO] [stdout] 344 | let p = PrimitiveValue::new(type_tok.encoding.primitive_type, seg); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/otf/listener.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | token: &Token, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_in_group` [INFO] [stdout] --> src/otf/listener.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | num_in_group: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 221 | _num_in_group: usize, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ENCODED_LENGTH` [INFO] [stdout] | [INFO] [stdout] 221 - num_in_group: usize, [INFO] [stdout] 221 + codec::message_header_codec::ENCODED_LENGTH: usize, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/otf/listener.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | token: &Token, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group_index` [INFO] [stdout] --> src/otf/listener.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | group_index: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 229 | _group_index: usize, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ENCODED_LENGTH` [INFO] [stdout] | [INFO] [stdout] 229 - group_index: usize, [INFO] [stdout] 229 + codec::message_header_codec::ENCODED_LENGTH: usize, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_in_group` [INFO] [stdout] --> src/otf/listener.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | num_in_group: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 230 | _num_in_group: usize, [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `ENCODED_LENGTH` [INFO] [stdout] | [INFO] [stdout] 230 - num_in_group: usize, [INFO] [stdout] 230 + codec::message_header_codec::ENCODED_LENGTH: usize, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | let mut d = FrameCodecDecoder::default(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SBE_SCHEMA_ID` is never used [INFO] [stdout] --> src/codec/mod.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const SBE_SCHEMA_ID: u16 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SBE_SEMANTIC_VERSION` is never used [INFO] [stdout] --> src/codec/mod.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const SBE_SEMANTIC_VERSION: &str = ""; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `SbeResult` is never used [INFO] [stdout] --> src/codec/mod.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub type SbeResult = core::result::Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SbeErr` is never used [INFO] [stdout] --> src/codec/mod.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum SbeErr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Either` is never used [INFO] [stdout] --> src/codec/mod.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub enum Either { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Writer` is never used [INFO] [stdout] --> src/codec/mod.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait Writer<'a>: Sized { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Encoder` is never used [INFO] [stdout] --> src/codec/mod.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait Encoder<'a>: Writer<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ActingVersion` is never used [INFO] [stdout] --> src/codec/mod.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | pub trait ActingVersion { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SBE_TEMPLATE_ID` is never used [INFO] [stdout] --> src/codec/frame_codec_codec.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const SBE_TEMPLATE_ID: u16 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FrameCodecEncoder` is never constructed [INFO] [stdout] --> src/codec/frame_codec_codec.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct FrameCodecEncoder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/codec/frame_codec_codec.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 44 | impl<'a> FrameCodecEncoder<'a> { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] 45 | pub fn wrap(mut self, buf: WriteBuf<'a>, offset: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn encoded_length(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn header(self, offset: usize) -> MessageHeaderEncoder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn ir_id(&mut self, value: i32) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn ir_version(&mut self, value: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn schema_version(&mut self, value: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn package_name(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn namespace_name(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn semantic_version(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `header` is never used [INFO] [stdout] --> src/codec/frame_codec_codec.rs:208:16 [INFO] [stdout] | [INFO] [stdout] 185 | impl<'a> FrameCodecDecoder<'a> { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn header(self, mut header: MessageHeaderDecoder>, offset: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENCODED_LENGTH` is never used [INFO] [stdout] --> src/codec/message_header_codec.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const ENCODED_LENGTH: usize = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageHeaderEncoder` is never constructed [INFO] [stdout] --> src/codec/message_header_codec.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MessageHeaderEncoder

{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wrap`, `parent`, `block_length`, `template_id`, `schema_id`, and `version` are never used [INFO] [stdout] --> src/codec/message_header_codec.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 31 | / impl<'a, P> MessageHeaderEncoder

[INFO] [stdout] 32 | | where [INFO] [stdout] 33 | | P: Writer<'a> + Default, [INFO] [stdout] | |________________________________- methods in this implementation [INFO] [stdout] 34 | { [INFO] [stdout] 35 | pub fn wrap(mut self, parent: P, offset: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn parent(&mut self) -> SbeResult

{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn block_length(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn template_id(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn schema_id(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn version(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MessageHeaderDecoder` is never constructed [INFO] [stdout] --> src/codec/message_header_codec.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct MessageHeaderDecoder

{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wrap`, `parent`, `block_length`, `template_id`, `schema_id`, and `version` are never used [INFO] [stdout] --> src/codec/message_header_codec.rs:141:16 [INFO] [stdout] | [INFO] [stdout] 137 | / impl<'a, P> MessageHeaderDecoder

[INFO] [stdout] 138 | | where [INFO] [stdout] 139 | | P: Reader<'a> + Default, [INFO] [stdout] | |________________________________- methods in this implementation [INFO] [stdout] 140 | { [INFO] [stdout] 141 | pub fn wrap(mut self, parent: P, offset: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn parent(&mut self) -> SbeResult

{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn block_length(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn template_id(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn schema_id(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn version(&self) -> u16 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SBE_TEMPLATE_ID` is never used [INFO] [stdout] --> src/codec/token_codec_codec.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const SBE_TEMPLATE_ID: u16 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenCodecEncoder` is never constructed [INFO] [stdout] --> src/codec/token_codec_codec.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct TokenCodecEncoder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/codec/token_codec_codec.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 44 | impl<'a> TokenCodecEncoder<'a> { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] 45 | pub fn wrap(mut self, buf: WriteBuf<'a>, offset: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn encoded_length(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn header(self, offset: usize) -> MessageHeaderEncoder { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn token_offset(&mut self, value: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn token_size(&mut self, value: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn field_id(&mut self, value: i32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn token_version(&mut self, value: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn component_token_count(&mut self, value: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn signal(&mut self, value: signal_codec::SignalCodec) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn primitive_type(&mut self, value: primitive_type_codec::PrimitiveTypeCodec) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn byte_order(&mut self, value: byte_order_codec::ByteOrderCodec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn presence(&mut self, value: presence_codec::PresenceCodec) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn deprecated(&mut self, value: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn name(&mut self, value: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn const_value(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn min_value(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn max_value(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn null_value(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub fn character_encoding(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn epoch(&mut self, value: &str) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn time_unit(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | pub fn semantic_type(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | pub fn description(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | pub fn referenced_name(&mut self, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `header` is never used [INFO] [stdout] --> src/codec/token_codec_codec.rs:361:16 [INFO] [stdout] | [INFO] [stdout] 338 | impl<'a> TokenCodecDecoder<'a> { [INFO] [stdout] | ------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 361 | pub fn header(self, mut header: MessageHeaderDecoder>, offset: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VarDataEncodingEncoder` is never constructed [INFO] [stdout] --> src/codec/var_data_encoding_codec.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct VarDataEncodingEncoder

{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wrap`, `parent`, `length`, and `var_data` are never used [INFO] [stdout] --> src/codec/var_data_encoding_codec.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 29 | / impl<'a, P> VarDataEncodingEncoder

[INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | P: Writer<'a> + Default, [INFO] [stdout] | |________________________________- methods in this implementation [INFO] [stdout] 32 | { [INFO] [stdout] 33 | pub fn wrap(mut self, parent: P, offset: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn parent(&mut self) -> SbeResult

{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn length(&mut self, value: u16) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn var_data(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VarDataEncodingDecoder` is never constructed [INFO] [stdout] --> src/codec/var_data_encoding_codec.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | pub struct VarDataEncodingDecoder

{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `wrap`, `parent`, `length`, and `var_data` are never used [INFO] [stdout] --> src/codec/var_data_encoding_codec.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 105 | / impl<'a, P> VarDataEncodingDecoder

[INFO] [stdout] 106 | | where [INFO] [stdout] 107 | | P: Reader<'a> + Default, [INFO] [stdout] | |________________________________- methods in this implementation [INFO] [stdout] 108 | { [INFO] [stdout] 109 | pub fn wrap(mut self, parent: P, offset: usize) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn parent(&mut self) -> SbeResult

{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn length(&self) -> u16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn var_data(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Integer` and `Float` are never constructed [INFO] [stdout] --> src/token.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 186 | enum Representation { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 187 | Integer(u64), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 188 | Float(f64), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Representation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/token.rs:264:22 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn to_string(&self) -> Cow { [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] 264 | pub fn to_string(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.32s [INFO] running `Command { std: "docker" "inspect" "a2c3a89d99e66299e8b6109fd2723c2b576e917ace83b132e675c7da04cc0546", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2c3a89d99e66299e8b6109fd2723c2b576e917ace83b132e675c7da04cc0546", kill_on_drop: false }` [INFO] [stdout] a2c3a89d99e66299e8b6109fd2723c2b576e917ace83b132e675c7da04cc0546