[INFO] cloning repository https://github.com/Knapptr/sightread [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Knapptr/sightread" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKnapptr%2Fsightread", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKnapptr%2Fsightread'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 392e3741eca65dda614ccb84319edc1bc999dde2 [INFO] testing Knapptr/sightread against master#9e297bf54d31eb3b30067208ff9af4416945a2ed for pr-125507 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKnapptr%2Fsightread" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Knapptr/sightread on toolchain 9e297bf54d31eb3b30067208ff9af4416945a2ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Knapptr/sightread [INFO] finished tweaking git repo https://github.com/Knapptr/sightread [INFO] tweaked toml for git repo https://github.com/Knapptr/sightread written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Knapptr/sightread already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3af3ddd69d978457781f648aeac3402405b707c1175e5e302c71f3459c39ac0 [INFO] running `Command { std: "docker" "start" "-a" "c3af3ddd69d978457781f648aeac3402405b707c1175e5e302c71f3459c39ac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3af3ddd69d978457781f648aeac3402405b707c1175e5e302c71f3459c39ac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3af3ddd69d978457781f648aeac3402405b707c1175e5e302c71f3459c39ac0", kill_on_drop: false }` [INFO] [stdout] c3af3ddd69d978457781f648aeac3402405b707c1175e5e302c71f3459c39ac0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6491ed1829921dfd01ad90f8e11c6d407c19194e4c482aa55342b6155a479ecf [INFO] running `Command { std: "docker" "start" "-a" "6491ed1829921dfd01ad90f8e11c6d407c19194e4c482aa55342b6155a479ecf", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling midi_parse v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tuple` [INFO] [stdout] --> src/message.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | sequence::{pair, tuple}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::variable_length_7` [INFO] [stdout] --> src/meta.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{bytes::variable_length_7, take_with_tag_len, MidiEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Tuple`, `bits`, `branch::alt`, `pair`, and `tuple` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | bits, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | branch::alt, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | sequence::{pair, tuple, Tuple}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::meta::MetaEvent` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::meta::MetaEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/meta.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | let (remainder, tag) = tag([0xff])(input)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/header.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | let (remainder, (length, format_type, tracks, division)) = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/meta.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | let (remainder, num) = take(1usize)(remainder)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `track` [INFO] [stdout] --> src/main.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | let (mut remainder, track) = track::parse_track(remainder).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `format_type`, `tracks`, and `division` are never read [INFO] [stdout] --> src/header.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 18 | format_type: Format, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | tracks: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | division: DivFormat, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/header.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | PPQ(usize), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 | PPQ(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NegSMPTE` is never constructed [INFO] [stdout] --> src/header.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum DivFormat { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 28 | PPQ(usize), [INFO] [stdout] 29 | NegSMPTE, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DivFormat` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/message.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | NoteOn(u8, u8), [INFO] [stdout] | ------ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 21 | NoteOn((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/message.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | NoteOff(u8, u8), [INFO] [stdout] | ------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 22 | NoteOff((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/message.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | ControlChange(u8, u8), [INFO] [stdout] | ------------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 23 | ControlChange((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | ProgramChange(u8), [INFO] [stdout] | ------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 | ProgramChange(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/message.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | PolyAftertouch(u8, u8), [INFO] [stdout] | -------------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 25 | PolyAftertouch((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | MonoAftertouch(u8), [INFO] [stdout] | -------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 26 | MonoAftertouch(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/message.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | PitchBend(u8, u8), [INFO] [stdout] | --------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 28 | PitchBend((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Other` is never constructed [INFO] [stdout] --> src/message.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum VoiceMessage { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 27 | Other, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VoiceMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | let (remainder, _) = tag(spec.clone())(input)?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.87s [INFO] running `Command { std: "docker" "inspect" "6491ed1829921dfd01ad90f8e11c6d407c19194e4c482aa55342b6155a479ecf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6491ed1829921dfd01ad90f8e11c6d407c19194e4c482aa55342b6155a479ecf", kill_on_drop: false }` [INFO] [stdout] 6491ed1829921dfd01ad90f8e11c6d407c19194e4c482aa55342b6155a479ecf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9fafc153e6b39d5aa5f41854dd071597945355398a68b930f5e20d144050010 [INFO] running `Command { std: "docker" "start" "-a" "d9fafc153e6b39d5aa5f41854dd071597945355398a68b930f5e20d144050010", kill_on_drop: false }` [INFO] [stderr] Compiling midi_parse v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tuple` [INFO] [stdout] --> src/message.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | sequence::{pair, tuple}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::variable_length_7` [INFO] [stdout] --> src/meta.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{bytes::variable_length_7, take_with_tag_len, MidiEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Tuple`, `bits`, `branch::alt`, `pair`, and `tuple` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | bits, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | branch::alt, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | sequence::{pair, tuple, Tuple}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::meta::MetaEvent` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::meta::MetaEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/meta.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | let (remainder, tag) = tag([0xff])(input)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/header.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | let (remainder, (length, format_type, tracks, division)) = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/meta.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | let (remainder, num) = take(1usize)(remainder)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `track` [INFO] [stdout] --> src/main.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | let (mut remainder, track) = track::parse_track(remainder).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `format_type`, `tracks`, and `division` are never read [INFO] [stdout] --> src/header.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 18 | format_type: Format, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | tracks: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | division: DivFormat, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/header.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | PPQ(usize), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 | PPQ(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NegSMPTE` is never constructed [INFO] [stdout] --> src/header.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum DivFormat { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 28 | PPQ(usize), [INFO] [stdout] 29 | NegSMPTE, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DivFormat` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/message.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | ControlChange(u8, u8), [INFO] [stdout] | ------------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 23 | ControlChange((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | ProgramChange(u8), [INFO] [stdout] | ------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 | ProgramChange(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/message.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | PolyAftertouch(u8, u8), [INFO] [stdout] | -------------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 25 | PolyAftertouch((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | MonoAftertouch(u8), [INFO] [stdout] | -------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 26 | MonoAftertouch(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/message.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | PitchBend(u8, u8), [INFO] [stdout] | --------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 28 | PitchBend((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Other` is never constructed [INFO] [stdout] --> src/message.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum VoiceMessage { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 27 | Other, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VoiceMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | let (remainder, _) = tag(spec.clone())(input)?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "d9fafc153e6b39d5aa5f41854dd071597945355398a68b930f5e20d144050010", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9fafc153e6b39d5aa5f41854dd071597945355398a68b930f5e20d144050010", kill_on_drop: false }` [INFO] [stdout] d9fafc153e6b39d5aa5f41854dd071597945355398a68b930f5e20d144050010 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+9e297bf54d31eb3b30067208ff9af4416945a2ed" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 10fdb449098f6fc6963c199f0cba1d80d41ea5368652391744aa68f9ae1cfc53 [INFO] running `Command { std: "docker" "start" "-a" "10fdb449098f6fc6963c199f0cba1d80d41ea5368652391744aa68f9ae1cfc53", kill_on_drop: false }` [INFO] [stderr] Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: unable to apply cgroup configuration: unable to start unit "docker-10fdb449098f6fc6963c199f0cba1d80d41ea5368652391744aa68f9ae1cfc53.scope" (properties [{Name:Description Value:"libcontainer container 10fdb449098f6fc6963c199f0cba1d80d41ea5368652391744aa68f9ae1cfc53"} {Name:Slice Value:"system.slice"} {Name:Delegate Value:true} {Name:PIDs Value:@au [3898237]} {Name:MemoryAccounting Value:true} {Name:CPUAccounting Value:true} {Name:IOAccounting Value:true} {Name:TasksAccounting Value:true} {Name:DefaultDependencies Value:false}]): Message recipient disconnected from message bus without replying: unknown [INFO] running `Command { std: "docker" "inspect" "10fdb449098f6fc6963c199f0cba1d80d41ea5368652391744aa68f9ae1cfc53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10fdb449098f6fc6963c199f0cba1d80d41ea5368652391744aa68f9ae1cfc53", kill_on_drop: false }` [INFO] [stdout] 10fdb449098f6fc6963c199f0cba1d80d41ea5368652391744aa68f9ae1cfc53 [INFO] testing Knapptr/sightread against try#61a9ac64344e91d62f5496627ff363d177f9daab for pr-125507 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKnapptr%2Fsightread" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Knapptr/sightread on toolchain 61a9ac64344e91d62f5496627ff363d177f9daab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Knapptr/sightread [INFO] finished tweaking git repo https://github.com/Knapptr/sightread [INFO] tweaked toml for git repo https://github.com/Knapptr/sightread written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Knapptr/sightread already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2bb370865628bf1777a6324f074640a05472014e02bc970555eb63a289f5129c [INFO] running `Command { std: "docker" "start" "-a" "2bb370865628bf1777a6324f074640a05472014e02bc970555eb63a289f5129c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2bb370865628bf1777a6324f074640a05472014e02bc970555eb63a289f5129c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bb370865628bf1777a6324f074640a05472014e02bc970555eb63a289f5129c", kill_on_drop: false }` [INFO] [stdout] 2bb370865628bf1777a6324f074640a05472014e02bc970555eb63a289f5129c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0846f10402b7ec8d59d8b5443281dc211445c84ea99a19d17c4e36e8fc745e5c [INFO] running `Command { std: "docker" "start" "-a" "0846f10402b7ec8d59d8b5443281dc211445c84ea99a19d17c4e36e8fc745e5c", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling midi_parse v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tuple` [INFO] [stdout] --> src/message.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | sequence::{pair, tuple}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::variable_length_7` [INFO] [stdout] --> src/meta.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{bytes::variable_length_7, take_with_tag_len, MidiEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Tuple`, `bits`, `branch::alt`, `pair`, and `tuple` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | bits, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | branch::alt, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | sequence::{pair, tuple, Tuple}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::meta::MetaEvent` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::meta::MetaEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/meta.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | let (remainder, tag) = tag([0xff])(input)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/header.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | let (remainder, (length, format_type, tracks, division)) = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/meta.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | let (remainder, num) = take(1usize)(remainder)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `track` [INFO] [stdout] --> src/main.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | let (mut remainder, track) = track::parse_track(remainder).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `format_type`, `tracks`, and `division` are never read [INFO] [stdout] --> src/header.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 18 | format_type: Format, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | tracks: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | division: DivFormat, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/header.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | PPQ(usize), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 | PPQ(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NegSMPTE` is never constructed [INFO] [stdout] --> src/header.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum DivFormat { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 28 | PPQ(usize), [INFO] [stdout] 29 | NegSMPTE, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DivFormat` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/message.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | NoteOn(u8, u8), [INFO] [stdout] | ------ ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 21 | NoteOn((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/message.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | NoteOff(u8, u8), [INFO] [stdout] | ------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 22 | NoteOff((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/message.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | ControlChange(u8, u8), [INFO] [stdout] | ------------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 23 | ControlChange((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | ProgramChange(u8), [INFO] [stdout] | ------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 | ProgramChange(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/message.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | PolyAftertouch(u8, u8), [INFO] [stdout] | -------------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 25 | PolyAftertouch((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | MonoAftertouch(u8), [INFO] [stdout] | -------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 26 | MonoAftertouch(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/message.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | PitchBend(u8, u8), [INFO] [stdout] | --------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 28 | PitchBend((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Other` is never constructed [INFO] [stdout] --> src/message.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum VoiceMessage { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 27 | Other, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VoiceMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | let (remainder, _) = tag(spec.clone())(input)?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.71s [INFO] running `Command { std: "docker" "inspect" "0846f10402b7ec8d59d8b5443281dc211445c84ea99a19d17c4e36e8fc745e5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0846f10402b7ec8d59d8b5443281dc211445c84ea99a19d17c4e36e8fc745e5c", kill_on_drop: false }` [INFO] [stdout] 0846f10402b7ec8d59d8b5443281dc211445c84ea99a19d17c4e36e8fc745e5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7d26a70b88997b93e9487e35df3bbde864026d6cb96ffaf76cac2afb7199af7 [INFO] running `Command { std: "docker" "start" "-a" "a7d26a70b88997b93e9487e35df3bbde864026d6cb96ffaf76cac2afb7199af7", kill_on_drop: false }` [INFO] [stderr] Compiling midi_parse v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tuple` [INFO] [stdout] --> src/message.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | sequence::{pair, tuple}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::variable_length_7` [INFO] [stdout] --> src/meta.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::{bytes::variable_length_7, take_with_tag_len, MidiEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Tuple`, `bits`, `branch::alt`, `pair`, and `tuple` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | bits, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | branch::alt, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | sequence::{pair, tuple, Tuple}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::meta::MetaEvent` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::meta::MetaEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/meta.rs:84:25 [INFO] [stdout] | [INFO] [stdout] 84 | let (remainder, tag) = tag([0xff])(input)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length` [INFO] [stdout] --> src/header.rs:38:22 [INFO] [stdout] | [INFO] [stdout] 38 | let (remainder, (length, format_type, tracks, division)) = [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/meta.rs:35:21 [INFO] [stdout] | [INFO] [stdout] 35 | let (remainder, num) = take(1usize)(remainder)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `track` [INFO] [stdout] --> src/main.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | let (mut remainder, track) = track::parse_track(remainder).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `format_type`, `tracks`, and `division` are never read [INFO] [stdout] --> src/header.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 18 | format_type: Format, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | tracks: u16, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | division: DivFormat, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/header.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | PPQ(usize), [INFO] [stdout] | --- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 | PPQ(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NegSMPTE` is never constructed [INFO] [stdout] --> src/header.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum DivFormat { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 28 | PPQ(usize), [INFO] [stdout] 29 | NegSMPTE, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DivFormat` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/message.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | ControlChange(u8, u8), [INFO] [stdout] | ------------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 23 | ControlChange((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | ProgramChange(u8), [INFO] [stdout] | ------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 | ProgramChange(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/message.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | PolyAftertouch(u8, u8), [INFO] [stdout] | -------------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 25 | PolyAftertouch((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/message.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | MonoAftertouch(u8), [INFO] [stdout] | -------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 26 | MonoAftertouch(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/message.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 28 | PitchBend(u8, u8), [INFO] [stdout] | --------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 28 | PitchBend((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Other` is never constructed [INFO] [stdout] --> src/message.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum VoiceMessage { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 27 | Other, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VoiceMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:46:38 [INFO] [stdout] | [INFO] [stdout] 46 | let (remainder, _) = tag(spec.clone())(input)?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `Command { std: "docker" "inspect" "a7d26a70b88997b93e9487e35df3bbde864026d6cb96ffaf76cac2afb7199af7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7d26a70b88997b93e9487e35df3bbde864026d6cb96ffaf76cac2afb7199af7", kill_on_drop: false }` [INFO] [stdout] a7d26a70b88997b93e9487e35df3bbde864026d6cb96ffaf76cac2afb7199af7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+61a9ac64344e91d62f5496627ff363d177f9daab" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0e804899a4474e1146b71aaa8cc3c837b22b2a76b03e0aebe22812093fecb778 [INFO] running `Command { std: "docker" "start" "-a" "0e804899a4474e1146b71aaa8cc3c837b22b2a76b03e0aebe22812093fecb778", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `tuple` [INFO] [stderr] --> src/message.rs:3:22 [INFO] [stderr] | [INFO] [stderr] 3 | sequence::{pair, tuple}, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `bytes::variable_length_7` [INFO] [stderr] --> src/meta.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::{bytes::variable_length_7, take_with_tag_len, MidiEvent}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Tuple`, `bits`, `branch::alt`, `pair`, and `tuple` [INFO] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | bits, [INFO] [stderr] | ^^^^ [INFO] [stderr] 14 | branch::alt, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 19 | sequence::{pair, tuple, Tuple}, [INFO] [stderr] | ^^^^ ^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::meta::MetaEvent` [INFO] [stderr] --> src/main.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | use crate::meta::MetaEvent; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tag` [INFO] [stderr] --> src/meta.rs:84:25 [INFO] [stderr] | [INFO] [stderr] 84 | let (remainder, tag) = tag([0xff])(input)?; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `length` [INFO] [stderr] --> src/header.rs:38:22 [INFO] [stderr] | [INFO] [stderr] 38 | let (remainder, (length, format_type, tracks, division)) = [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_length` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `num` [INFO] [stderr] --> src/meta.rs:35:21 [INFO] [stderr] | [INFO] [stderr] 35 | let (remainder, num) = take(1usize)(remainder)?; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `track` [INFO] [stderr] --> src/main.rs:61:25 [INFO] [stderr] | [INFO] [stderr] 61 | let (mut remainder, track) = track::parse_track(remainder).unwrap(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_track` [INFO] [stderr] [INFO] [stderr] warning: fields `format_type`, `tracks`, and `division` are never read [INFO] [stderr] --> src/header.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct Header { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 18 | format_type: Format, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 19 | tracks: u16, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 20 | division: DivFormat, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/header.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 28 | PPQ(usize), [INFO] [stderr] | --- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 28 | PPQ(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: variant `NegSMPTE` is never constructed [INFO] [stderr] --> src/header.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 27 | pub enum DivFormat { [INFO] [stderr] | --------- variant in this enum [INFO] [stderr] 28 | PPQ(usize), [INFO] [stderr] 29 | NegSMPTE, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DivFormat` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/message.rs:23:19 [INFO] [stderr] | [INFO] [stderr] 23 | ControlChange(u8, u8), [INFO] [stderr] | ------------- ^^ ^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 23 | ControlChange((), ()), [INFO] [stderr] | ~~ ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/message.rs:24:19 [INFO] [stderr] | [INFO] [stderr] 24 | ProgramChange(u8), [INFO] [stderr] | ------------- ^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 24 | ProgramChange(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/message.rs:25:20 [INFO] [stderr] | [INFO] [stderr] 25 | PolyAftertouch(u8, u8), [INFO] [stderr] | -------------- ^^ ^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 25 | PolyAftertouch((), ()), [INFO] [stderr] | ~~ ~~ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/message.rs:26:20 [INFO] [stderr] | [INFO] [stderr] 26 | MonoAftertouch(u8), [INFO] [stderr] | -------------- ^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 26 | MonoAftertouch(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/message.rs:28:15 [INFO] [stderr] | [INFO] [stderr] 28 | PitchBend(u8, u8), [INFO] [stderr] | --------- ^^ ^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stderr] | [INFO] [stderr] 28 | PitchBend((), ()), [INFO] [stderr] | ~~ ~~ [INFO] [stderr] [INFO] [stderr] warning: variant `Other` is never constructed [INFO] [stderr] --> src/message.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 20 | pub enum VoiceMessage { [INFO] [stderr] | ------------ variant in this enum [INFO] [stderr] ... [INFO] [stderr] 27 | Other, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `VoiceMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/main.rs:46:38 [INFO] [stderr] | [INFO] [stderr] 46 | let (remainder, _) = tag(spec.clone())(input)?; [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `midi_parse` (bin "midi_parse" test) generated 18 warnings (run `cargo fix --bin "midi_parse" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/midi_parse-adbcd8a7a7bd78c6) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test message::parse_noteoff ... ok [INFO] [stdout] test message::parse_running_status_note_on ... ok [INFO] [stdout] test message::parse_noteon ... ok [INFO] [stdout] test bytes::var_7 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0e804899a4474e1146b71aaa8cc3c837b22b2a76b03e0aebe22812093fecb778", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e804899a4474e1146b71aaa8cc3c837b22b2a76b03e0aebe22812093fecb778", kill_on_drop: false }` [INFO] [stdout] 0e804899a4474e1146b71aaa8cc3c837b22b2a76b03e0aebe22812093fecb778