[INFO] cloning repository https://github.com/r0t0r-r0t0r/r0t0blocks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/r0t0r-r0t0r/r0t0blocks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr0t0r-r0t0r%2Fr0t0blocks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr0t0r-r0t0r%2Fr0t0blocks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a177850b602fe8427f86252b945bf5c5fb7e7401 [INFO] checking r0t0r-r0t0r/r0t0blocks against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr0t0r-r0t0r%2Fr0t0blocks" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/r0t0r-r0t0r/r0t0blocks on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/r0t0r-r0t0r/r0t0blocks [INFO] finished tweaking git repo https://github.com/r0t0r-r0t0r/r0t0blocks [INFO] tweaked toml for git repo https://github.com/r0t0r-r0t0r/r0t0blocks written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/r0t0r-r0t0r/r0t0blocks 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f37d5c56493c763b3ce1f8b14769c272b69299ade01d1a304c69af55d5c8c13e [INFO] running `Command { std: "docker" "start" "-a" "f37d5c56493c763b3ce1f8b14769c272b69299ade01d1a304c69af55d5c8c13e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f37d5c56493c763b3ce1f8b14769c272b69299ade01d1a304c69af55d5c8c13e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f37d5c56493c763b3ce1f8b14769c272b69299ade01d1a304c69af55d5c8c13e", kill_on_drop: false }` [INFO] [stdout] f37d5c56493c763b3ce1f8b14769c272b69299ade01d1a304c69af55d5c8c13e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb2f18cae044f069a5e5d223771e59f25f02e7b7a143774c46adae04c56a1b3e [INFO] running `Command { std: "docker" "start" "-a" "eb2f18cae044f069a5e5d223771e59f25f02e7b7a143774c46adae04c56a1b3e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling sdl2 v0.34.5 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking strum v0.20.0 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling sdl2-sys v0.34.5 [INFO] [stderr] Checking fastrand v1.4.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking midi v0.1.0 (/opt/rustwide/workdir/midi) [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> midi/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> midi/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> midi/src/main.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | _ => {}, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> midi/src/main.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 54 | MtrkEvent{event: Event::Meta(MetaEvent::Text(msg)), ..} => println!("Text: {}", msg), [INFO] [stdout] | ------------------------------------------------------- matches some of the same values [INFO] [stdout] 55 | MtrkEvent{event: Event::Meta(MetaEvent::CopyrightNotice(msg)), ..} => println!("Copyright: {}", msg), [INFO] [stdout] | ------------------------------------------------------------------ matches some of the same values [INFO] [stdout] 56 | MtrkEvent{event: Event::Meta(MetaEvent::SequenceTrackName(msg)), ..} => println!("Name: {}", msg), [INFO] [stdout] | -------------------------------------------------------------------- matches some of the same values [INFO] [stdout] 57 | MtrkEvent{event: Event::Meta(MetaEvent::EndOfTrack), ..} => break, [INFO] [stdout] | -------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 60 | _ => {}, [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_header` [INFO] [stdout] --> midi/src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let file_header = read_file_header(&mut f, header_header.length)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_header` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `track_header` [INFO] [stdout] --> midi/src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let track_header = read_chunk_header(&mut f)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_track_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> midi/src/main.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MidiError` 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] 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] 12 | Io(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> midi/src/main.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | UnsupportedEvent(u8), [INFO] [stdout] | ---------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MidiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 18 | UnsupportedEvent(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> midi/src/main.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | UnsupportedMetaEvent(u8), [INFO] [stdout] | -------------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MidiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 19 | UnsupportedMetaEvent(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> midi/src/main.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | Utf8(FromUtf8Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MidiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 20 | Utf8(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Fps24`, `Fps25`, `Fps29`, and `Fps30` are never constructed [INFO] [stdout] --> midi/src/main.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 85 | enum SmpteFormat { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 86 | Fps24, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 87 | Fps25, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 88 | Fps29, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 89 | Fps30, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> midi/src/main.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | TicksPerQuarterNote(u32), [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] 93 | TicksPerQuarterNote(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TicksPerFrame` is never constructed [INFO] [stdout] --> midi/src/main.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 92 | enum Division { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 93 | TicksPerQuarterNote(u32), [INFO] [stdout] 94 | TicksPerFrame(SmpteFormat, u32), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_format`, `number_of_chunks`, and `division` are never read [INFO] [stdout] --> midi/src/main.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | struct FileHeader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 98 | file_format: FileFormat, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 99 | number_of_chunks: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 100 | division: Division, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `delta_time` is never read [INFO] [stdout] --> midi/src/main.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 103 | struct MtrkEvent { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 104 | delta_time: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> midi/src/main.rs:282:11 [INFO] [stdout] | [INFO] [stdout] 282 | Major(MajorKey), [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Key` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 282 | Major(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> midi/src/main.rs:283:11 [INFO] [stdout] | [INFO] [stdout] 283 | Minor(MinorKey), [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Key` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 283 | Minor(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> midi/src/main.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | _ => {}, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> midi/src/main.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 54 | MtrkEvent{event: Event::Meta(MetaEvent::Text(msg)), ..} => println!("Text: {}", msg), [INFO] [stdout] | ------------------------------------------------------- matches some of the same values [INFO] [stdout] 55 | MtrkEvent{event: Event::Meta(MetaEvent::CopyrightNotice(msg)), ..} => println!("Copyright: {}", msg), [INFO] [stdout] | ------------------------------------------------------------------ matches some of the same values [INFO] [stdout] 56 | MtrkEvent{event: Event::Meta(MetaEvent::SequenceTrackName(msg)), ..} => println!("Name: {}", msg), [INFO] [stdout] | -------------------------------------------------------------------- matches some of the same values [INFO] [stdout] 57 | MtrkEvent{event: Event::Meta(MetaEvent::EndOfTrack), ..} => break, [INFO] [stdout] | -------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 60 | _ => {}, [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_header` [INFO] [stdout] --> midi/src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let file_header = read_file_header(&mut f, header_header.length)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_header` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `track_header` [INFO] [stdout] --> midi/src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let track_header = read_chunk_header(&mut f)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_track_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> midi/src/main.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MidiError` 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] 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] 12 | Io(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> midi/src/main.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | UnsupportedEvent(u8), [INFO] [stdout] | ---------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MidiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 18 | UnsupportedEvent(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> midi/src/main.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | UnsupportedMetaEvent(u8), [INFO] [stdout] | -------------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MidiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 19 | UnsupportedMetaEvent(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> midi/src/main.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | Utf8(FromUtf8Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MidiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 20 | Utf8(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Fps24`, `Fps25`, `Fps29`, and `Fps30` are never constructed [INFO] [stdout] --> midi/src/main.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 85 | enum SmpteFormat { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 86 | Fps24, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 87 | Fps25, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 88 | Fps29, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 89 | Fps30, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> midi/src/main.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | TicksPerQuarterNote(u32), [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] 93 | TicksPerQuarterNote(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TicksPerFrame` is never constructed [INFO] [stdout] --> midi/src/main.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 92 | enum Division { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 93 | TicksPerQuarterNote(u32), [INFO] [stdout] 94 | TicksPerFrame(SmpteFormat, u32), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_format`, `number_of_chunks`, and `division` are never read [INFO] [stdout] --> midi/src/main.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | struct FileHeader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 98 | file_format: FileFormat, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 99 | number_of_chunks: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 100 | division: Division, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `delta_time` is never read [INFO] [stdout] --> midi/src/main.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 103 | struct MtrkEvent { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 104 | delta_time: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> midi/src/main.rs:282:11 [INFO] [stdout] | [INFO] [stdout] 282 | Major(MajorKey), [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Key` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 282 | Major(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> midi/src/main.rs:283:11 [INFO] [stdout] | [INFO] [stdout] 283 | Minor(MinorKey), [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Key` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 283 | Minor(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Compiling enum_dispatch v0.3.6 [INFO] [stderr] Checking engine v0.1.0 (/opt/rustwide/workdir/engine) [INFO] [stderr] Checking r0t0blocks v0.1.0 (/opt/rustwide/workdir/blocks) [INFO] [stderr] Checking synth v0.1.0 (/opt/rustwide/workdir/synth) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.48s [INFO] running `Command { std: "docker" "inspect" "eb2f18cae044f069a5e5d223771e59f25f02e7b7a143774c46adae04c56a1b3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb2f18cae044f069a5e5d223771e59f25f02e7b7a143774c46adae04c56a1b3e", kill_on_drop: false }` [INFO] [stdout] eb2f18cae044f069a5e5d223771e59f25f02e7b7a143774c46adae04c56a1b3e [INFO] checking r0t0r-r0t0r/r0t0blocks against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr0t0r-r0t0r%2Fr0t0blocks" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/r0t0r-r0t0r/r0t0blocks on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/r0t0r-r0t0r/r0t0blocks [INFO] finished tweaking git repo https://github.com/r0t0r-r0t0r/r0t0blocks [INFO] tweaked toml for git repo https://github.com/r0t0r-r0t0r/r0t0blocks written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/r0t0r-r0t0r/r0t0blocks 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d320a0cfdde6506bea28aa261d7dc031c2f0edcaea81b65c04f447c61097e484 [INFO] running `Command { std: "docker" "start" "-a" "d320a0cfdde6506bea28aa261d7dc031c2f0edcaea81b65c04f447c61097e484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d320a0cfdde6506bea28aa261d7dc031c2f0edcaea81b65c04f447c61097e484", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d320a0cfdde6506bea28aa261d7dc031c2f0edcaea81b65c04f447c61097e484", kill_on_drop: false }` [INFO] [stdout] d320a0cfdde6506bea28aa261d7dc031c2f0edcaea81b65c04f447c61097e484 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 864a1b386d3d56026f23f77c7b6ee4123235eb141e4254afe86e40b9897c6a78 [INFO] running `Command { std: "docker" "start" "-a" "864a1b386d3d56026f23f77c7b6ee4123235eb141e4254afe86e40b9897c6a78", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling sdl2 v0.34.5 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking strum v0.20.0 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling sdl2-sys v0.34.5 [INFO] [stderr] Checking fastrand v1.4.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking midi v0.1.0 (/opt/rustwide/workdir/midi) [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> midi/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> midi/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> midi/src/main.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | _ => {}, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> midi/src/main.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 54 | MtrkEvent{event: Event::Meta(MetaEvent::Text(msg)), ..} => println!("Text: {}", msg), [INFO] [stdout] | ------------------------------------------------------- matches some of the same values [INFO] [stdout] 55 | MtrkEvent{event: Event::Meta(MetaEvent::CopyrightNotice(msg)), ..} => println!("Copyright: {}", msg), [INFO] [stdout] | ------------------------------------------------------------------ matches some of the same values [INFO] [stdout] 56 | MtrkEvent{event: Event::Meta(MetaEvent::SequenceTrackName(msg)), ..} => println!("Name: {}", msg), [INFO] [stdout] | -------------------------------------------------------------------- matches some of the same values [INFO] [stdout] 57 | MtrkEvent{event: Event::Meta(MetaEvent::EndOfTrack), ..} => break, [INFO] [stdout] | -------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 60 | _ => {}, [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_header` [INFO] [stdout] --> midi/src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let file_header = read_file_header(&mut f, header_header.length)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_header` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `track_header` [INFO] [stdout] --> midi/src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let track_header = read_chunk_header(&mut f)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_track_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> midi/src/main.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MidiError` 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] 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] 12 | Io(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> midi/src/main.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | UnsupportedEvent(u8), [INFO] [stdout] | ---------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MidiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 18 | UnsupportedEvent(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> midi/src/main.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | UnsupportedMetaEvent(u8), [INFO] [stdout] | -------------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MidiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 19 | UnsupportedMetaEvent(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> midi/src/main.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | Utf8(FromUtf8Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MidiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 20 | Utf8(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Fps24`, `Fps25`, `Fps29`, and `Fps30` are never constructed [INFO] [stdout] --> midi/src/main.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 85 | enum SmpteFormat { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 86 | Fps24, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 87 | Fps25, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 88 | Fps29, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 89 | Fps30, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> midi/src/main.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | TicksPerQuarterNote(u32), [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] 93 | TicksPerQuarterNote(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TicksPerFrame` is never constructed [INFO] [stdout] --> midi/src/main.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 92 | enum Division { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 93 | TicksPerQuarterNote(u32), [INFO] [stdout] 94 | TicksPerFrame(SmpteFormat, u32), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_format`, `number_of_chunks`, and `division` are never read [INFO] [stdout] --> midi/src/main.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | struct FileHeader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 98 | file_format: FileFormat, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 99 | number_of_chunks: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 100 | division: Division, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `delta_time` is never read [INFO] [stdout] --> midi/src/main.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 103 | struct MtrkEvent { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 104 | delta_time: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> midi/src/main.rs:282:11 [INFO] [stdout] | [INFO] [stdout] 282 | Major(MajorKey), [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Key` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 282 | Major(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> midi/src/main.rs:283:11 [INFO] [stdout] | [INFO] [stdout] 283 | Minor(MinorKey), [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Key` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 283 | Minor(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> midi/src/main.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | _ => {}, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> midi/src/main.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 54 | MtrkEvent{event: Event::Meta(MetaEvent::Text(msg)), ..} => println!("Text: {}", msg), [INFO] [stdout] | ------------------------------------------------------- matches some of the same values [INFO] [stdout] 55 | MtrkEvent{event: Event::Meta(MetaEvent::CopyrightNotice(msg)), ..} => println!("Copyright: {}", msg), [INFO] [stdout] | ------------------------------------------------------------------ matches some of the same values [INFO] [stdout] 56 | MtrkEvent{event: Event::Meta(MetaEvent::SequenceTrackName(msg)), ..} => println!("Name: {}", msg), [INFO] [stdout] | -------------------------------------------------------------------- matches some of the same values [INFO] [stdout] 57 | MtrkEvent{event: Event::Meta(MetaEvent::EndOfTrack), ..} => break, [INFO] [stdout] | -------------------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 60 | _ => {}, [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_header` [INFO] [stdout] --> midi/src/main.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let file_header = read_file_header(&mut f, header_header.length)?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_header` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `track_header` [INFO] [stdout] --> midi/src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let track_header = read_chunk_header(&mut f)?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_track_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> midi/src/main.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MidiError` 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] 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] 12 | Io(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> midi/src/main.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | UnsupportedEvent(u8), [INFO] [stdout] | ---------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MidiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 18 | UnsupportedEvent(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> midi/src/main.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | UnsupportedMetaEvent(u8), [INFO] [stdout] | -------------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MidiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 19 | UnsupportedMetaEvent(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> midi/src/main.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | Utf8(FromUtf8Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MidiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 20 | Utf8(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Fps24`, `Fps25`, `Fps29`, and `Fps30` are never constructed [INFO] [stdout] --> midi/src/main.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 85 | enum SmpteFormat { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 86 | Fps24, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 87 | Fps25, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 88 | Fps29, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 89 | Fps30, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> midi/src/main.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | TicksPerQuarterNote(u32), [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] 93 | TicksPerQuarterNote(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `TicksPerFrame` is never constructed [INFO] [stdout] --> midi/src/main.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 92 | enum Division { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 93 | TicksPerQuarterNote(u32), [INFO] [stdout] 94 | TicksPerFrame(SmpteFormat, u32), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_format`, `number_of_chunks`, and `division` are never read [INFO] [stdout] --> midi/src/main.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | struct FileHeader { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 98 | file_format: FileFormat, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 99 | number_of_chunks: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 100 | division: Division, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `delta_time` is never read [INFO] [stdout] --> midi/src/main.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 103 | struct MtrkEvent { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 104 | delta_time: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> midi/src/main.rs:282:11 [INFO] [stdout] | [INFO] [stdout] 282 | Major(MajorKey), [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Key` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 282 | Major(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> midi/src/main.rs:283:11 [INFO] [stdout] | [INFO] [stdout] 283 | Minor(MinorKey), [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Key` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 283 | Minor(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Compiling enum_dispatch v0.3.6 [INFO] [stderr] Checking engine v0.1.0 (/opt/rustwide/workdir/engine) [INFO] [stderr] Checking r0t0blocks v0.1.0 (/opt/rustwide/workdir/blocks) [INFO] [stderr] Checking synth v0.1.0 (/opt/rustwide/workdir/synth) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> synth/src/main.rs:328:29 [INFO] [stdout] | [INFO] [stdout] 316 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 317 | [INFO] [stdout] 318 | let mut state = State::new(tx); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 328 | run(&mut state, params, move |s| Audio::new(s.freq as i64, rx)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> synth/src/main.rs:328:29 [INFO] [stdout] | [INFO] [stdout] 316 | let (tx, rx) = mpsc::channel(); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 317 | [INFO] [stdout] 318 | let mut state = State::new(tx); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 328 | run(&mut state, params, move |s| Audio::new(s.freq as i64, rx)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `synth` (bin "synth") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `synth` (bin "synth" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "864a1b386d3d56026f23f77c7b6ee4123235eb141e4254afe86e40b9897c6a78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "864a1b386d3d56026f23f77c7b6ee4123235eb141e4254afe86e40b9897c6a78", kill_on_drop: false }` [INFO] [stdout] 864a1b386d3d56026f23f77c7b6ee4123235eb141e4254afe86e40b9897c6a78