[INFO] fetching crate pkts 0.1.3... [INFO] checking pkts-0.1.3 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate pkts 0.1.3 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate pkts 0.1.3 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate pkts 0.1.3 [INFO] finished tweaking crates.io crate pkts 0.1.3 [INFO] tweaked toml for crates.io crate pkts 0.1.3 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pkts-macros v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c74a9b63c9ef37ac7d0edb9f4c7090061f68eb7da111ede2ef25264812cf484c [INFO] running `Command { std: "docker" "start" "-a" "c74a9b63c9ef37ac7d0edb9f4c7090061f68eb7da111ede2ef25264812cf484c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c74a9b63c9ef37ac7d0edb9f4c7090061f68eb7da111ede2ef25264812cf484c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c74a9b63c9ef37ac7d0edb9f4c7090061f68eb7da111ede2ef25264812cf484c", kill_on_drop: false }` [INFO] [stdout] c74a9b63c9ef37ac7d0edb9f4c7090061f68eb7da111ede2ef25264812cf484c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8dd0b761a53631fb30a5dd11b0a3e062c98e4c4ba9ed1370f14976147887b0a9 [INFO] running `Command { std: "docker" "start" "-a" "8dd0b761a53631fb30a5dd11b0a3e062c98e4c4ba9ed1370f14976147887b0a9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling pkts-macros v0.1.3 [INFO] [stderr] Checking pkts v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `RawRef` [INFO] [stdout] --> src/layers/mysql.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | use super::{Raw, RawRef}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LayerMut` [INFO] [stdout] --> src/layers/psql.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | use pkts_macros::{Layer, LayerMut, LayerRef, StatelessLayer}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/sequence.rs:1088:15 [INFO] [stdout] | [INFO] [stdout] 1088 | buf: [u8; (65536 * 2)], // Must be this size to handle the case where a packet of size 65535 is fragmented into fragments of minimum ... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1088 - buf: [u8; (65536 * 2)], // Must be this size to handle the case where a packet of size 65535 is fragmented into fragments of minimum length (4 bytes, assuming padding is used efficiently) [INFO] [stdout] 1088 + buf: [u8; 65536 * 2], // Must be this size to handle the case where a packet of size 65535 is fragmented into fragments of minimum length (4 bytes, assuming padding is used efficiently) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RawRef` [INFO] [stdout] --> src/layers/mysql.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | use super::{Raw, RawRef}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LayerMut` [INFO] [stdout] --> src/layers/psql.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | use pkts_macros::{Layer, LayerMut, LayerRef, StatelessLayer}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around const expression [INFO] [stdout] --> src/sequence.rs:1088:15 [INFO] [stdout] | [INFO] [stdout] 1088 | buf: [u8; (65536 * 2)], // Must be this size to handle the case where a packet of size 65535 is fragmented into fragments of minimum ... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1088 - buf: [u8; (65536 * 2)], // Must be this size to handle the case where a packet of size 65535 is fragmented into fragments of minimum length (4 bytes, assuming padding is used efficiently) [INFO] [stdout] 1088 + buf: [u8; 65536 * 2], // Must be this size to handle the case where a packet of size 65535 is fragmented into fragments of minimum length (4 bytes, assuming padding is used efficiently) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::layers::traits::extras::*` [INFO] [stdout] --> src/lib.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | use crate::layers::traits::extras::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/example.rs:23:56 [INFO] [stdout] | [INFO] [stdout] 23 | fn payload_from_bytes_unchecked_default(&mut self, bytes: &[u8]) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/example.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | fn from_bytes_current_layer_unchecked(bytes: &[u8]) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/layers/example.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | fn can_set_payload_default(&self, payload: &dyn LayerObject) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/layers/example.rs:59:41 [INFO] [stdout] | [INFO] [stdout] 59 | fn set_payload_unchecked(&mut self, payload: Box) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/example.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | fn to_bytes_chksummed(&self, bytes: &mut Vec, prev: Option<(LayerId, usize)>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev` [INFO] [stdout] --> src/layers/example.rs:65:55 [INFO] [stdout] | [INFO] [stdout] 65 | fn to_bytes_chksummed(&self, bytes: &mut Vec, prev: Option<(LayerId, usize)>) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/example.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | fn from_bytes_unchecked(bytes: &'a [u8]) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/example.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | fn payload_byte_index_default(bytes: &[u8], layer_type: LayerId) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer_type` [INFO] [stdout] --> src/layers/example.rs:87:49 [INFO] [stdout] | [INFO] [stdout] 87 | fn payload_byte_index_default(bytes: &[u8], layer_type: LayerId) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layer_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_layer` [INFO] [stdout] --> src/layers/example.rs:93:31 [INFO] [stdout] | [INFO] [stdout] 93 | fn validate_current_layer(curr_layer: &[u8]) -> Result<(), ValidationError> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_layer` [INFO] [stdout] --> src/layers/example.rs:97:33 [INFO] [stdout] | [INFO] [stdout] 97 | fn validate_payload_default(curr_layer: &[u8]) -> Result<(), ValidationError> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/example.rs:23:56 [INFO] [stdout] | [INFO] [stdout] 23 | fn payload_from_bytes_unchecked_default(&mut self, bytes: &[u8]) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/example.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | fn from_bytes_current_layer_unchecked(bytes: &[u8]) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/layers/example.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | fn can_set_payload_default(&self, payload: &dyn LayerObject) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/layers/example.rs:59:41 [INFO] [stdout] | [INFO] [stdout] 59 | fn set_payload_unchecked(&mut self, payload: Box) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/example.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | fn to_bytes_chksummed(&self, bytes: &mut Vec, prev: Option<(LayerId, usize)>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev` [INFO] [stdout] --> src/layers/example.rs:65:55 [INFO] [stdout] | [INFO] [stdout] 65 | fn to_bytes_chksummed(&self, bytes: &mut Vec, prev: Option<(LayerId, usize)>) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/example.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | fn from_bytes_unchecked(bytes: &'a [u8]) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/example.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | fn payload_byte_index_default(bytes: &[u8], layer_type: LayerId) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer_type` [INFO] [stdout] --> src/layers/example.rs:87:49 [INFO] [stdout] | [INFO] [stdout] 87 | fn payload_byte_index_default(bytes: &[u8], layer_type: LayerId) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layer_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_layer` [INFO] [stdout] --> src/layers/example.rs:93:31 [INFO] [stdout] | [INFO] [stdout] 93 | fn validate_current_layer(curr_layer: &[u8]) -> Result<(), ValidationError> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_layer` [INFO] [stdout] --> src/layers/example.rs:97:33 [INFO] [stdout] | [INFO] [stdout] 97 | fn validate_payload_default(curr_layer: &[u8]) -> Result<(), ValidationError> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/layers/mysql.rs:88:39 [INFO] [stdout] | [INFO] [stdout] 88 | fn can_set_payload_default(&self, payload: &dyn LayerObject) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev` [INFO] [stdout] --> src/layers/mysql.rs:124:55 [INFO] [stdout] | [INFO] [stdout] 124 | fn to_bytes_chksummed(&self, bytes: &mut Vec, prev: Option<(LayerId, usize)>) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/mysql.rs:282:34 [INFO] [stdout] | [INFO] [stdout] 282 | fn to_bytes_chksummed(&self, bytes: &mut Vec, prev: Option<(LayerId, usize)>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev` [INFO] [stdout] --> src/layers/mysql.rs:282:55 [INFO] [stdout] | [INFO] [stdout] 282 | fn to_bytes_chksummed(&self, bytes: &mut Vec, prev: Option<(LayerId, usize)>) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/psql.rs:116:43 [INFO] [stdout] | [INFO] [stdout] 116 | fn from_bytes_current_layer_unchecked(bytes: &[u8]) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/layers/psql.rs:150:41 [INFO] [stdout] | [INFO] [stdout] 150 | fn set_payload_unchecked(&mut self, payload: Box) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/psql.rs:156:34 [INFO] [stdout] | [INFO] [stdout] 156 | fn to_bytes_chksummed(&self, bytes: &mut Vec, prev: Option<(LayerId, usize)>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev` [INFO] [stdout] --> src/layers/psql.rs:156:55 [INFO] [stdout] | [INFO] [stdout] 156 | fn to_bytes_chksummed(&self, bytes: &mut Vec, prev: Option<(LayerId, usize)>) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/layers/mysql.rs:88:39 [INFO] [stdout] | [INFO] [stdout] 88 | fn can_set_payload_default(&self, payload: &dyn LayerObject) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev` [INFO] [stdout] --> src/layers/mysql.rs:124:55 [INFO] [stdout] | [INFO] [stdout] 124 | fn to_bytes_chksummed(&self, bytes: &mut Vec, prev: Option<(LayerId, usize)>) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/mysql.rs:282:34 [INFO] [stdout] | [INFO] [stdout] 282 | fn to_bytes_chksummed(&self, bytes: &mut Vec, prev: Option<(LayerId, usize)>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev` [INFO] [stdout] --> src/layers/mysql.rs:282:55 [INFO] [stdout] | [INFO] [stdout] 282 | fn to_bytes_chksummed(&self, bytes: &mut Vec, prev: Option<(LayerId, usize)>) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/psql.rs:116:43 [INFO] [stdout] | [INFO] [stdout] 116 | fn from_bytes_current_layer_unchecked(bytes: &[u8]) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/layers/psql.rs:150:41 [INFO] [stdout] | [INFO] [stdout] 150 | fn set_payload_unchecked(&mut self, payload: Box) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/psql.rs:156:34 [INFO] [stdout] | [INFO] [stdout] 156 | fn to_bytes_chksummed(&self, bytes: &mut Vec, prev: Option<(LayerId, usize)>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev` [INFO] [stdout] --> src/layers/psql.rs:156:55 [INFO] [stdout] | [INFO] [stdout] 156 | fn to_bytes_chksummed(&self, bytes: &mut Vec, prev: Option<(LayerId, usize)>) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_prev` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/psql.rs:1080:29 [INFO] [stdout] | [INFO] [stdout] 1080 | fn from_bytes_unchecked(bytes: &'a [u8]) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/psql.rs:1086:35 [INFO] [stdout] | [INFO] [stdout] 1086 | fn payload_byte_index_default(bytes: &[u8], layer_type: LayerId) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer_type` [INFO] [stdout] --> src/layers/psql.rs:1086:49 [INFO] [stdout] | [INFO] [stdout] 1086 | fn payload_byte_index_default(bytes: &[u8], layer_type: LayerId) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layer_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_layer` [INFO] [stdout] --> src/layers/psql.rs:1092:31 [INFO] [stdout] | [INFO] [stdout] 1092 | fn validate_current_layer(curr_layer: &[u8]) -> Result<(), ValidationError> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_layer` [INFO] [stdout] --> src/layers/psql.rs:1096:33 [INFO] [stdout] | [INFO] [stdout] 1096 | fn validate_payload_default(curr_layer: &[u8]) -> Result<(), ValidationError> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/psql.rs:1080:29 [INFO] [stdout] | [INFO] [stdout] 1080 | fn from_bytes_unchecked(bytes: &'a [u8]) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/psql.rs:1086:35 [INFO] [stdout] | [INFO] [stdout] 1086 | fn payload_byte_index_default(bytes: &[u8], layer_type: LayerId) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer_type` [INFO] [stdout] --> src/layers/psql.rs:1086:49 [INFO] [stdout] | [INFO] [stdout] 1086 | fn payload_byte_index_default(bytes: &[u8], layer_type: LayerId) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layer_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_layer` [INFO] [stdout] --> src/layers/psql.rs:1092:31 [INFO] [stdout] | [INFO] [stdout] 1092 | fn validate_current_layer(curr_layer: &[u8]) -> Result<(), ValidationError> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_layer` [INFO] [stdout] --> src/layers/psql.rs:1096:33 [INFO] [stdout] | [INFO] [stdout] 1096 | fn validate_payload_default(curr_layer: &[u8]) -> Result<(), ValidationError> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/layers/psql.rs:2168:17 [INFO] [stdout] | [INFO] [stdout] 2168 | Err(e) => return Err(ValidationError { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_rows_bytes` [INFO] [stdout] --> src/layers/psql.rs:2419:33 [INFO] [stdout] | [INFO] [stdout] 2419 | let (portal_name_bytes, max_rows_bytes) = match utils::split_delim(rem, 0x00) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_rows_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/psql.rs:2618:56 [INFO] [stdout] | [INFO] [stdout] 2618 | fn payload_from_bytes_unchecked_default(&mut self, bytes: &[u8]) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/psql.rs:2622:43 [INFO] [stdout] | [INFO] [stdout] 2622 | fn from_bytes_current_layer_unchecked(bytes: &[u8]) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/layers/psql.rs:2635:39 [INFO] [stdout] | [INFO] [stdout] 2635 | fn can_set_payload_default(&self, payload: &dyn LayerObject) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/layers/psql.rs:2655:41 [INFO] [stdout] | [INFO] [stdout] 2655 | fn set_payload_unchecked(&mut self, payload: Box) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/psql.rs:2661:34 [INFO] [stdout] | [INFO] [stdout] 2661 | fn to_bytes_chksummed(&self, bytes: &mut Vec, _prev: Option<(LayerId, usize)>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/psql.rs:2775:29 [INFO] [stdout] | [INFO] [stdout] 2775 | fn from_bytes_unchecked(bytes: &'a [u8]) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/psql.rs:2781:35 [INFO] [stdout] | [INFO] [stdout] 2781 | fn payload_byte_index_default(bytes: &[u8], layer_type: LayerId) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer_type` [INFO] [stdout] --> src/layers/psql.rs:2781:49 [INFO] [stdout] | [INFO] [stdout] 2781 | fn payload_byte_index_default(bytes: &[u8], layer_type: LayerId) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layer_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_layer` [INFO] [stdout] --> src/layers/psql.rs:2787:31 [INFO] [stdout] | [INFO] [stdout] 2787 | fn validate_current_layer(curr_layer: &[u8]) -> Result<(), ValidationError> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_layer` [INFO] [stdout] --> src/layers/psql.rs:2791:33 [INFO] [stdout] | [INFO] [stdout] 2791 | fn validate_payload_default(curr_layer: &[u8]) -> Result<(), ValidationError> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/layers/psql.rs:2168:17 [INFO] [stdout] | [INFO] [stdout] 2168 | Err(e) => return Err(ValidationError { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_rows_bytes` [INFO] [stdout] --> src/layers/psql.rs:2419:33 [INFO] [stdout] | [INFO] [stdout] 2419 | let (portal_name_bytes, max_rows_bytes) = match utils::split_delim(rem, 0x00) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_rows_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/psql.rs:2618:56 [INFO] [stdout] | [INFO] [stdout] 2618 | fn payload_from_bytes_unchecked_default(&mut self, bytes: &[u8]) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/psql.rs:2622:43 [INFO] [stdout] | [INFO] [stdout] 2622 | fn from_bytes_current_layer_unchecked(bytes: &[u8]) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/layers/psql.rs:2635:39 [INFO] [stdout] | [INFO] [stdout] 2635 | fn can_set_payload_default(&self, payload: &dyn LayerObject) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/layers/psql.rs:2655:41 [INFO] [stdout] | [INFO] [stdout] 2655 | fn set_payload_unchecked(&mut self, payload: Box) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/psql.rs:2661:34 [INFO] [stdout] | [INFO] [stdout] 2661 | fn to_bytes_chksummed(&self, bytes: &mut Vec, _prev: Option<(LayerId, usize)>) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/psql.rs:2775:29 [INFO] [stdout] | [INFO] [stdout] 2775 | fn from_bytes_unchecked(bytes: &'a [u8]) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes` [INFO] [stdout] --> src/layers/psql.rs:2781:35 [INFO] [stdout] | [INFO] [stdout] 2781 | fn payload_byte_index_default(bytes: &[u8], layer_type: LayerId) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layer_type` [INFO] [stdout] --> src/layers/psql.rs:2781:49 [INFO] [stdout] | [INFO] [stdout] 2781 | fn payload_byte_index_default(bytes: &[u8], layer_type: LayerId) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layer_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_layer` [INFO] [stdout] --> src/layers/psql.rs:2787:31 [INFO] [stdout] | [INFO] [stdout] 2787 | fn validate_current_layer(curr_layer: &[u8]) -> Result<(), ValidationError> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curr_layer` [INFO] [stdout] --> src/layers/psql.rs:2791:33 [INFO] [stdout] | [INFO] [stdout] 2791 | fn validate_payload_default(curr_layer: &[u8]) -> Result<(), ValidationError> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_curr_layer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sequence.rs:1477:13 [INFO] [stdout] | [INFO] [stdout] 1477 | let mut data_chunks = sctp.payload_chunks(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sequence.rs:1477:13 [INFO] [stdout] | [INFO] [stdout] 1477 | let mut data_chunks = sctp.payload_chunks(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `layered_seq` [INFO] [stdout] --> src/lib.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | let mut layered_seq = LayeredSequence::new(ip1, false) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_layered_seq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let mut layered_seq = LayeredSequence::new(ip1, false) [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.33s [INFO] running `Command { std: "docker" "inspect" "8dd0b761a53631fb30a5dd11b0a3e062c98e4c4ba9ed1370f14976147887b0a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dd0b761a53631fb30a5dd11b0a3e062c98e4c4ba9ed1370f14976147887b0a9", kill_on_drop: false }` [INFO] [stdout] 8dd0b761a53631fb30a5dd11b0a3e062c98e4c4ba9ed1370f14976147887b0a9