[INFO] fetching crate rsnbs 0.1.2... [INFO] testing rsnbs-0.1.2 against 1.90.0 for beta-1.91-3 [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 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "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" "+1.90.0" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 617c2a79ade0cc70966baf94af215a764b4094dfa74e56092f233b3f4c6e8e6d [INFO] running `Command { std: "docker" "start" "-a" "617c2a79ade0cc70966baf94af215a764b4094dfa74e56092f233b3f4c6e8e6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "617c2a79ade0cc70966baf94af215a764b4094dfa74e56092f233b3f4c6e8e6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "617c2a79ade0cc70966baf94af215a764b4094dfa74e56092f233b3f4c6e8e6d", kill_on_drop: false }` [INFO] [stdout] 617c2a79ade0cc70966baf94af215a764b4094dfa74e56092f233b3f4c6e8e6d [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a12cc18cd36aa9e59d91f55e47bd43da90c5028740668e3056c4e183d42f441e [INFO] running `Command { std: "docker" "start" "-a" "a12cc18cd36aa9e59d91f55e47bd43da90c5028740668e3056c4e183d42f441e", kill_on_drop: false }` [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.57s [INFO] running `Command { std: "docker" "inspect" "a12cc18cd36aa9e59d91f55e47bd43da90c5028740668e3056c4e183d42f441e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a12cc18cd36aa9e59d91f55e47bd43da90c5028740668e3056c4e183d42f441e", kill_on_drop: false }` [INFO] [stdout] a12cc18cd36aa9e59d91f55e47bd43da90c5028740668e3056c4e183d42f441e [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ea8ab4f17bc3cc6d55e0b7f915b49cb747eab32da039340e459327b881c251f [INFO] running `Command { std: "docker" "start" "-a" "3ea8ab4f17bc3cc6d55e0b7f915b49cb747eab32da039340e459327b881c251f", kill_on_drop: false }` [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: 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] [stderr] Compiling rsnbs v0.1.2 (/opt/rustwide/workdir) [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: 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `Command { std: "docker" "inspect" "3ea8ab4f17bc3cc6d55e0b7f915b49cb747eab32da039340e459327b881c251f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ea8ab4f17bc3cc6d55e0b7f915b49cb747eab32da039340e459327b881c251f", kill_on_drop: false }` [INFO] [stdout] 3ea8ab4f17bc3cc6d55e0b7f915b49cb747eab32da039340e459327b881c251f [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f18f5752446508851ed732687072338a6f6b8cda883e90ecb82fa9f447270745 [INFO] running `Command { std: "docker" "start" "-a" "f18f5752446508851ed732687072338a6f6b8cda883e90ecb82fa9f447270745", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Header` [INFO] [stderr] --> src/parser.rs:1:37 [INFO] [stderr] | [INFO] [stderr] 1 | use super::{Song, BinaryMut, Layer, Header, Note, Instrument}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::mem::transmute` [INFO] [stderr] --> src/parser.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use std::mem::transmute; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `from_bytes` should have an upper camel case name [INFO] [stderr] --> src/parser.rs:17:7 [INFO] [stderr] | [INFO] [stderr] 17 | trait from_bytes {fn from_bytes(bytes: Vec) -> T;} [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `FromBytes` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: denote infinite loops with `loop { ... }` [INFO] [stderr] --> src/parser.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 73 | while true { [INFO] [stderr] | ^^^^^^^^^^ help: use `loop` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(while_true)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::super::parser::read_nbs` [INFO] [stderr] --> src/tests.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 2 | use super::super::parser::read_nbs; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::super::Song` [INFO] [stderr] --> src/tests.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | use super::super::Song; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `diff::chars` [INFO] [stderr] --> src/tests.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | use diff::chars; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `writable_bin` should have an upper camel case name [INFO] [stderr] --> src/writer.rs:27:7 [INFO] [stderr] | [INFO] [stderr] 27 | trait writable_bin { [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WritableBin` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/parser.rs:21:16 [INFO] [stderr] | [INFO] [stderr] 21 | fn read_string(mut file: File) -> Option { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `version` [INFO] [stderr] --> src/parser.rs:43:18 [INFO] [stderr] | [INFO] [stderr] 43 | for (binary, version) in part { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/writer.rs:15:34 [INFO] [stderr] | [INFO] [stderr] 15 | fn write_default(mut file: File) -> Option { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] ... [INFO] [stderr] 32 | impl_writable_bin!([u8, i8, i16, i32,]); [INFO] [stderr] | --------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_writable_bin` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/writer.rs:43:22 [INFO] [stderr] | [INFO] [stderr] 43 | fn write_default(mut file: File) -> Option { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/writer.rs:57:22 [INFO] [stderr] | [INFO] [stderr] 57 | fn write_default(mut file: File) -> Option { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `version` [INFO] [stderr] --> src/writer.rs:74:18 [INFO] [stderr] | [INFO] [stderr] 74 | for (binary, version) in part { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/writer.rs:73:15 [INFO] [stderr] | [INFO] [stderr] 73 | fn write_part(mut file: File, part: Vec<(Binary, u8)>) -> Option<()> { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/writer.rs:96:13 [INFO] [stderr] | [INFO] [stderr] 96 | let mut file = match OpenOptions::new().write(true).open(filename) { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: constant `TEST_FILES` is never used [INFO] [stderr] --> src/tests.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | const TEST_FILES: [&str;2] = ["test_files/Megalovania.nbs", "test_files/DB.nbs"]; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/fields.rs:34:35 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn as_mut_vec(&mut self, version: u8) -> Vec<(BinaryMut, u8)> { [INFO] [stderr] | ^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 64 | / create_iterable_struct!( [INFO] [stderr] 65 | | Header, [INFO] [stderr] 66 | | [ [INFO] [stderr] 67 | | (classic_length: i16: Short): 0, [INFO] [stderr] ... | [INFO] [stderr] 90 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] = note: this warning originates in the macro `create_iterable_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 34 | pub fn as_mut_vec(&mut self, version: u8) -> Vec<(BinaryMut<'_>, u8)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/fields.rs:41:35 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn as_ref_vec(&self, version: u8) -> Vec<(Binary, u8)> { [INFO] [stderr] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 64 | / create_iterable_struct!( [INFO] [stderr] 65 | | Header, [INFO] [stderr] 66 | | [ [INFO] [stderr] 67 | | (classic_length: i16: Short): 0, [INFO] [stderr] ... | [INFO] [stderr] 90 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `create_iterable_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 41 | pub fn as_ref_vec(&self, version: u8) -> Vec<(Binary<'_>, u8)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/fields.rs:34:35 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn as_mut_vec(&mut self, version: u8) -> Vec<(BinaryMut, u8)> { [INFO] [stderr] | ^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 92 | / create_iterable_struct!( [INFO] [stderr] 93 | | Note, [INFO] [stderr] 94 | | [ [INFO] [stderr] 95 | | (tick: i32: Integer): 127, [INFO] [stderr] ... | [INFO] [stderr] 103 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `create_iterable_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 34 | pub fn as_mut_vec(&mut self, version: u8) -> Vec<(BinaryMut<'_>, u8)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/fields.rs:41:35 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn as_ref_vec(&self, version: u8) -> Vec<(Binary, u8)> { [INFO] [stderr] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 92 | / create_iterable_struct!( [INFO] [stderr] 93 | | Note, [INFO] [stderr] 94 | | [ [INFO] [stderr] 95 | | (tick: i32: Integer): 127, [INFO] [stderr] ... | [INFO] [stderr] 103 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `create_iterable_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 41 | pub fn as_ref_vec(&self, version: u8) -> Vec<(Binary<'_>, u8)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/fields.rs:34:35 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn as_mut_vec(&mut self, version: u8) -> Vec<(BinaryMut, u8)> { [INFO] [stderr] | ^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 105 | / create_iterable_struct!( [INFO] [stderr] 106 | | Layer, [INFO] [stderr] 107 | | [ [INFO] [stderr] 108 | | (name: String: String): 0, [INFO] [stderr] ... | [INFO] [stderr] 113 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `create_iterable_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 34 | pub fn as_mut_vec(&mut self, version: u8) -> Vec<(BinaryMut<'_>, u8)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/fields.rs:41:35 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn as_ref_vec(&self, version: u8) -> Vec<(Binary, u8)> { [INFO] [stderr] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 105 | / create_iterable_struct!( [INFO] [stderr] 106 | | Layer, [INFO] [stderr] 107 | | [ [INFO] [stderr] 108 | | (name: String: String): 0, [INFO] [stderr] ... | [INFO] [stderr] 113 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `create_iterable_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 41 | pub fn as_ref_vec(&self, version: u8) -> Vec<(Binary<'_>, u8)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/fields.rs:34:35 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn as_mut_vec(&mut self, version: u8) -> Vec<(BinaryMut, u8)> { [INFO] [stderr] | ^^^^^^^^^ --------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 115 | / create_iterable_struct!( [INFO] [stderr] 116 | | Instrument, [INFO] [stderr] 117 | | [ [INFO] [stderr] 118 | | (name: String: String): 0, [INFO] [stderr] ... | [INFO] [stderr] 123 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `create_iterable_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 34 | pub fn as_mut_vec(&mut self, version: u8) -> Vec<(BinaryMut<'_>, u8)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/fields.rs:41:35 [INFO] [stderr] | [INFO] [stderr] 41 | pub fn as_ref_vec(&self, version: u8) -> Vec<(Binary, u8)> { [INFO] [stderr] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 115 | / create_iterable_struct!( [INFO] [stderr] 116 | | Instrument, [INFO] [stderr] 117 | | [ [INFO] [stderr] 118 | | (name: String: String): 0, [INFO] [stderr] ... | [INFO] [stderr] 123 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: this warning originates in the macro `create_iterable_struct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 41 | pub fn as_ref_vec(&self, version: u8) -> Vec<(Binary<'_>, u8)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rsnbs` (lib) generated 25 warnings (run `cargo fix --lib -p rsnbs` to apply 12 suggestions) [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/tests.rs:11:30 [INFO] [stderr] | [INFO] [stderr] 11 | let test_file_dest = (test_file.to_string() + "Test"); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 11 - let test_file_dest = (test_file.to_string() + "Test"); [INFO] [stderr] 11 + let test_file_dest = test_file.to_string() + "Test"; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `rsnbs` (lib test) generated 23 warnings (22 duplicates) (run `cargo fix --lib -p rsnbs --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rsnbs-442a51501b8744e1) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::tests::io ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::tests::io stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::tests::io' panicked at src/tests.rs:13:110: [INFO] [stdout] Some writing error ocurred [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55f64e651c02 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x55f64e651c02 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x55f64e651c02 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x55f64e651c02 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x55f64e677523 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x55f64e677523 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x55f64e64eb83 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x55f64e64eb83 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x55f64e651a52 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x55f64e653179 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x55f64e652fae - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x55f64e613e94 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x55f64e613e94 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x55f64e653b4e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x55f64e653b4e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x55f64e65391a - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x55f64e6520f9 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x55f64e6535ad - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x55f64e675f70 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x55f64e675f4b - core::panicking::panic_display::h784ac6e2afc29348 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:268:5 [INFO] [stdout] 20: 0x55f64e675f4b - core::option::expect_failed::h091923fb77e757a1 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/option.rs:2139:5 [INFO] [stdout] 21: 0x55f64e5d05c1 - core::option::Option::expect::hfaadd5f95bfbdfbb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/option.rs:964:21 [INFO] [stdout] 22: 0x55f64e5d2008 - rsnbs::tests::tests::io::h5b0753a5b0fcd3a8 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:13:110 [INFO] [stdout] 23: 0x55f64e5d1d47 - rsnbs::tests::tests::io::{{closure}}::h3527147504589fa8 [INFO] [stdout] at /opt/rustwide/workdir/src/tests.rs:8:12 [INFO] [stdout] 24: 0x55f64e5cf736 - core::ops::function::FnOnce::call_once::h211b63cd42fbe76b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x55f64e6196fb - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x55f64e6196fb - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 27: 0x55f64e618835 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 28: 0x55f64e618835 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x55f64e618835 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 30: 0x55f64e618835 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 31: 0x55f64e618835 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x55f64e618835 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 33: 0x55f64e618835 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 34: 0x55f64e5dc434 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 35: 0x55f64e5dc434 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x55f64e5dfe0a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x55f64e5dfe0a - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x55f64e5dfe0a - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 39: 0x55f64e5dfe0a - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 40: 0x55f64e5dfe0a - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x55f64e5dfe0a - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x55f64e5dfe0a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x55f64e656acf - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 44: 0x55f64e656acf - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 45: 0x787c343a3aa4 - [INFO] [stdout] 46: 0x787c34430a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::tests::io [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "f18f5752446508851ed732687072338a6f6b8cda883e90ecb82fa9f447270745", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f18f5752446508851ed732687072338a6f6b8cda883e90ecb82fa9f447270745", kill_on_drop: false }` [INFO] [stdout] f18f5752446508851ed732687072338a6f6b8cda883e90ecb82fa9f447270745