[INFO] fetching crate rsnbs 0.1.2... [INFO] checking rsnbs-0.1.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate rsnbs 0.1.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate rsnbs 0.1.2 [INFO] finished tweaking crates.io crate rsnbs 0.1.2 [INFO] tweaked toml for crates.io crate rsnbs 0.1.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rsnbs 0.1.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d66de644786795521811fa5552b69e29fd1f85b6e3b87c448f2728ef0dff922 [INFO] running `Command { std: "docker" "start" "-a" "1d66de644786795521811fa5552b69e29fd1f85b6e3b87c448f2728ef0dff922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d66de644786795521811fa5552b69e29fd1f85b6e3b87c448f2728ef0dff922", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d66de644786795521811fa5552b69e29fd1f85b6e3b87c448f2728ef0dff922", kill_on_drop: false }` [INFO] [stdout] 1d66de644786795521811fa5552b69e29fd1f85b6e3b87c448f2728ef0dff922 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c2e7e118e8b8dcbef4895df83e16a7ca5e6e7d2f4841bb6b202feb6063b485e5 [INFO] running `Command { std: "docker" "start" "-a" "c2e7e118e8b8dcbef4895df83e16a7ca5e6e7d2f4841bb6b202feb6063b485e5", kill_on_drop: false }` [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rsnbs v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Header` [INFO] [stdout] --> src/parser.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Song, BinaryMut, Layer, Header, Note, Instrument}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::transmute` [INFO] [stdout] --> src/parser.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::mem::transmute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `from_bytes` should have an upper camel case name [INFO] [stdout] --> src/parser.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | trait from_bytes {fn from_bytes(bytes: Vec) -> T;} [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `FromBytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::parser::read_nbs` [INFO] [stdout] --> src/tests.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | use super::super::parser::read_nbs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::Song` [INFO] [stdout] --> src/tests.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use super::super::Song; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diff::chars` [INFO] [stdout] --> src/tests.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use diff::chars; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `writable_bin` should have an upper camel case name [INFO] [stdout] --> src/writer.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | trait writable_bin { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WritableBin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Header` [INFO] [stdout] --> src/parser.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Song, BinaryMut, Layer, Header, Note, Instrument}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::transmute` [INFO] [stdout] --> src/parser.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::mem::transmute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `from_bytes` should have an upper camel case name [INFO] [stdout] --> src/parser.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | trait from_bytes {fn from_bytes(bytes: Vec) -> T;} [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `FromBytes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: denote infinite loops with `loop { ... }` [INFO] [stdout] --> src/parser.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | while true { [INFO] [stdout] | ^^^^^^^^^^ help: use `loop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(while_true)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::Song` [INFO] [stdout] --> src/tests.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use super::super::Song; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/tests.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | let test_file_dest = (test_file.to_string() + "Test"); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - let test_file_dest = (test_file.to_string() + "Test"); [INFO] [stdout] 11 + let test_file_dest = test_file.to_string() + "Test"; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `writable_bin` should have an upper camel case name [INFO] [stdout] --> src/writer.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | trait writable_bin { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WritableBin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | fn read_string(mut file: File) -> Option { [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: `version` [INFO] [stdout] --> src/parser.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | for (binary, version) in part { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/writer.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | fn write_default(mut file: File) -> Option { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 32 | impl_writable_bin!([u8, i8, i16, i32,]); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_writable_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/writer.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | fn write_default(mut file: File) -> Option { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/writer.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | fn write_default(mut file: File) -> Option { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/writer.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | for (binary, version) in part { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/writer.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | fn write_part(mut file: File, part: Vec<(Binary, u8)>) -> Option<()> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/writer.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut file = match OpenOptions::new().write(true).open(filename) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_FILES` is never used [INFO] [stdout] --> src/tests.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | const TEST_FILES: [&str;2] = ["test_files/Megalovania.nbs", "test_files/DB.nbs"]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fields.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn as_mut_vec(&mut self, version: u8) -> Vec<(BinaryMut, u8)> { [INFO] [stdout] | ^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 64 | / create_iterable_struct!( [INFO] [stdout] 65 | | Header, [INFO] [stdout] 66 | | [ [INFO] [stdout] 67 | | (classic_length: i16: Short): 0, [INFO] [stdout] ... | [INFO] [stdout] 90 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `create_iterable_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn as_mut_vec(&mut self, version: u8) -> Vec<(BinaryMut<'_>, u8)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fields.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn as_ref_vec(&self, version: u8) -> Vec<(Binary, u8)> { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 64 | / create_iterable_struct!( [INFO] [stdout] 65 | | Header, [INFO] [stdout] 66 | | [ [INFO] [stdout] 67 | | (classic_length: i16: Short): 0, [INFO] [stdout] ... | [INFO] [stdout] 90 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `create_iterable_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn as_ref_vec(&self, version: u8) -> Vec<(Binary<'_>, u8)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fields.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn as_mut_vec(&mut self, version: u8) -> Vec<(BinaryMut, u8)> { [INFO] [stdout] | ^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 92 | / create_iterable_struct!( [INFO] [stdout] 93 | | Note, [INFO] [stdout] 94 | | [ [INFO] [stdout] 95 | | (tick: i32: Integer): 127, [INFO] [stdout] ... | [INFO] [stdout] 103 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `create_iterable_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn as_mut_vec(&mut self, version: u8) -> Vec<(BinaryMut<'_>, u8)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fields.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn as_ref_vec(&self, version: u8) -> Vec<(Binary, u8)> { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 92 | / create_iterable_struct!( [INFO] [stdout] 93 | | Note, [INFO] [stdout] 94 | | [ [INFO] [stdout] 95 | | (tick: i32: Integer): 127, [INFO] [stdout] ... | [INFO] [stdout] 103 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `create_iterable_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn as_ref_vec(&self, version: u8) -> Vec<(Binary<'_>, u8)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fields.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn as_mut_vec(&mut self, version: u8) -> Vec<(BinaryMut, u8)> { [INFO] [stdout] | ^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 105 | / create_iterable_struct!( [INFO] [stdout] 106 | | Layer, [INFO] [stdout] 107 | | [ [INFO] [stdout] 108 | | (name: String: String): 0, [INFO] [stdout] ... | [INFO] [stdout] 113 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `create_iterable_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn as_mut_vec(&mut self, version: u8) -> Vec<(BinaryMut<'_>, u8)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fields.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn as_ref_vec(&self, version: u8) -> Vec<(Binary, u8)> { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 105 | / create_iterable_struct!( [INFO] [stdout] 106 | | Layer, [INFO] [stdout] 107 | | [ [INFO] [stdout] 108 | | (name: String: String): 0, [INFO] [stdout] ... | [INFO] [stdout] 113 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `create_iterable_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn as_ref_vec(&self, version: u8) -> Vec<(Binary<'_>, u8)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fields.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn as_mut_vec(&mut self, version: u8) -> Vec<(BinaryMut, u8)> { [INFO] [stdout] | ^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 115 | / create_iterable_struct!( [INFO] [stdout] 116 | | Instrument, [INFO] [stdout] 117 | | [ [INFO] [stdout] 118 | | (name: String: String): 0, [INFO] [stdout] ... | [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `create_iterable_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn as_mut_vec(&mut self, version: u8) -> Vec<(BinaryMut<'_>, u8)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fields.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn as_ref_vec(&self, version: u8) -> Vec<(Binary, u8)> { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 115 | / create_iterable_struct!( [INFO] [stdout] 116 | | Instrument, [INFO] [stdout] 117 | | [ [INFO] [stdout] 118 | | (name: String: String): 0, [INFO] [stdout] ... | [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `create_iterable_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn as_ref_vec(&self, version: u8) -> Vec<(Binary<'_>, u8)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | fn read_string(mut file: File) -> Option { [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: `version` [INFO] [stdout] --> src/parser.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | for (binary, version) in part { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/writer.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | fn write_default(mut file: File) -> Option { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] ... [INFO] [stdout] 32 | impl_writable_bin!([u8, i8, i16, i32,]); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_writable_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/writer.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | fn write_default(mut file: File) -> Option { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/writer.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | fn write_default(mut file: File) -> Option { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/writer.rs:74:18 [INFO] [stdout] | [INFO] [stdout] 74 | for (binary, version) in part { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/writer.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | fn write_part(mut file: File, part: Vec<(Binary, u8)>) -> Option<()> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/writer.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut file = match OpenOptions::new().write(true).open(filename) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fields.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn as_mut_vec(&mut self, version: u8) -> Vec<(BinaryMut, u8)> { [INFO] [stdout] | ^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 64 | / create_iterable_struct!( [INFO] [stdout] 65 | | Header, [INFO] [stdout] 66 | | [ [INFO] [stdout] 67 | | (classic_length: i16: Short): 0, [INFO] [stdout] ... | [INFO] [stdout] 90 | | ); [INFO] [stdout] | |_- in this macro invocation [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] = note: this warning originates in the macro `create_iterable_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn as_mut_vec(&mut self, version: u8) -> Vec<(BinaryMut<'_>, u8)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fields.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn as_ref_vec(&self, version: u8) -> Vec<(Binary, u8)> { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 64 | / create_iterable_struct!( [INFO] [stdout] 65 | | Header, [INFO] [stdout] 66 | | [ [INFO] [stdout] 67 | | (classic_length: i16: Short): 0, [INFO] [stdout] ... | [INFO] [stdout] 90 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `create_iterable_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn as_ref_vec(&self, version: u8) -> Vec<(Binary<'_>, u8)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fields.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn as_mut_vec(&mut self, version: u8) -> Vec<(BinaryMut, u8)> { [INFO] [stdout] | ^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 92 | / create_iterable_struct!( [INFO] [stdout] 93 | | Note, [INFO] [stdout] 94 | | [ [INFO] [stdout] 95 | | (tick: i32: Integer): 127, [INFO] [stdout] ... | [INFO] [stdout] 103 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `create_iterable_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn as_mut_vec(&mut self, version: u8) -> Vec<(BinaryMut<'_>, u8)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fields.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn as_ref_vec(&self, version: u8) -> Vec<(Binary, u8)> { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 92 | / create_iterable_struct!( [INFO] [stdout] 93 | | Note, [INFO] [stdout] 94 | | [ [INFO] [stdout] 95 | | (tick: i32: Integer): 127, [INFO] [stdout] ... | [INFO] [stdout] 103 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `create_iterable_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn as_ref_vec(&self, version: u8) -> Vec<(Binary<'_>, u8)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fields.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn as_mut_vec(&mut self, version: u8) -> Vec<(BinaryMut, u8)> { [INFO] [stdout] | ^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 105 | / create_iterable_struct!( [INFO] [stdout] 106 | | Layer, [INFO] [stdout] 107 | | [ [INFO] [stdout] 108 | | (name: String: String): 0, [INFO] [stdout] ... | [INFO] [stdout] 113 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `create_iterable_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn as_mut_vec(&mut self, version: u8) -> Vec<(BinaryMut<'_>, u8)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fields.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn as_ref_vec(&self, version: u8) -> Vec<(Binary, u8)> { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 105 | / create_iterable_struct!( [INFO] [stdout] 106 | | Layer, [INFO] [stdout] 107 | | [ [INFO] [stdout] 108 | | (name: String: String): 0, [INFO] [stdout] ... | [INFO] [stdout] 113 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `create_iterable_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn as_ref_vec(&self, version: u8) -> Vec<(Binary<'_>, u8)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fields.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn as_mut_vec(&mut self, version: u8) -> Vec<(BinaryMut, u8)> { [INFO] [stdout] | ^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 115 | / create_iterable_struct!( [INFO] [stdout] 116 | | Instrument, [INFO] [stdout] 117 | | [ [INFO] [stdout] 118 | | (name: String: String): 0, [INFO] [stdout] ... | [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `create_iterable_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn as_mut_vec(&mut self, version: u8) -> Vec<(BinaryMut<'_>, u8)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/fields.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn as_ref_vec(&self, version: u8) -> Vec<(Binary, u8)> { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 115 | / create_iterable_struct!( [INFO] [stdout] 116 | | Instrument, [INFO] [stdout] 117 | | [ [INFO] [stdout] 118 | | (name: String: String): 0, [INFO] [stdout] ... | [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `create_iterable_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn as_ref_vec(&self, version: u8) -> Vec<(Binary<'_>, u8)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.01s [INFO] running `Command { std: "docker" "inspect" "c2e7e118e8b8dcbef4895df83e16a7ca5e6e7d2f4841bb6b202feb6063b485e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2e7e118e8b8dcbef4895df83e16a7ca5e6e7d2f4841bb6b202feb6063b485e5", kill_on_drop: false }` [INFO] [stdout] c2e7e118e8b8dcbef4895df83e16a7ca5e6e7d2f4841bb6b202feb6063b485e5