[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 try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1
[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] 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] validating manifest of git repo https://github.com/r0t0r-r0t0r/r0t0blocks on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6755dcf699f700f29d7788b888f568823e350a2fd8941a40eb8fe18610873bbf
[INFO] running `Command { std: "docker" "start" "-a" "6755dcf699f700f29d7788b888f568823e350a2fd8941a40eb8fe18610873bbf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6755dcf699f700f29d7788b888f568823e350a2fd8941a40eb8fe18610873bbf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6755dcf699f700f29d7788b888f568823e350a2fd8941a40eb8fe18610873bbf", kill_on_drop: false }`
[INFO] [stdout] 6755dcf699f700f29d7788b888f568823e350a2fd8941a40eb8fe18610873bbf
[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" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4b2d1886cb1f0cc2c7e15823fd8b8197a30b5be314ac6f7257e7db2b47289b40
[INFO] running `Command { std: "docker" "start" "-a" "4b2d1886cb1f0cc2c7e15823fd8b8197a30b5be314ac6f7257e7db2b47289b40", kill_on_drop: false }`
[INFO] [stderr] Compiling proc-macro2 v1.0.26
[INFO] [stderr] Compiling cfg-if v0.1.10
[INFO] [stderr] Compiling unicode-xid v0.2.2
[INFO] [stderr] Compiling version-compare v0.0.10
[INFO] [stderr] Compiling syn v1.0.72
[INFO] [stderr] Compiling libc v0.2.94
[INFO] [stderr] Compiling bitflags v1.2.1
[INFO] [stderr] Compiling unicode-segmentation v1.7.1
[INFO] [stderr] Compiling sdl2 v0.34.5
[INFO] [stderr] Checking lazy_static v1.4.0
[INFO] [stderr] Compiling sdl2-sys v0.34.5
[INFO] [stderr] Checking strum v0.20.0
[INFO] [stderr] Compiling once_cell v1.7.2
[INFO] [stderr] Checking fastrand v1.4.1
[INFO] [stderr] Checking byteorder v1.4.3
[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] [stderr] Compiling heck v0.3.2
[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(io::Error),
[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(u8),
[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(u8),
[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(FromUtf8Error),
[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(u32),
[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(MajorKey),
[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(MinorKey),
[INFO] [stdout] 283 + Minor(()),
[INFO] [stdout] |
[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(io::Error),
[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(u8),
[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(u8),
[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(FromUtf8Error),
[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(u32),
[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(MajorKey),
[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(MinorKey),
[INFO] [stdout] 283 + Minor(()),
[INFO] [stdout] |
[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] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout] --> blocks/src/blocks.rs:44:25
[INFO] [stdout] |
[INFO] [stdout] 44 | pub fn new(frames: &'frame [Vec; 7]) -> State {
[INFO] [stdout] | ^^^^^^ ----- the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is named here
[INFO] [stdout] |
[INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'frame`
[INFO] [stdout] |
[INFO] [stdout] 44 | pub fn new(frames: &'frame [Vec; 7]) -> State<'frame> {
[INFO] [stdout] | ++++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> blocks/src/tetromino.rs:185:24
[INFO] [stdout] |
[INFO] [stdout] 185 | pub fn new(frames: &[Frame]) -> Tetromino {
[INFO] [stdout] | ^^^^^^^^ --------- the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided here
[INFO] [stdout] |
[INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout] |
[INFO] [stdout] 185 | pub fn new(frames: &[Frame]) -> Tetromino<'_> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout] --> blocks/src/blocks.rs:44:25
[INFO] [stdout] |
[INFO] [stdout] 44 | pub fn new(frames: &'frame [Vec; 7]) -> State {
[INFO] [stdout] | ^^^^^^ ----- the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is named here
[INFO] [stdout] |
[INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: consistently use `'frame`
[INFO] [stdout] |
[INFO] [stdout] 44 | pub fn new(frames: &'frame [Vec; 7]) -> State<'frame> {
[INFO] [stdout] | ++++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout] --> blocks/src/tetromino.rs:185:24
[INFO] [stdout] |
[INFO] [stdout] 185 | pub fn new(frames: &[Frame]) -> Tetromino {
[INFO] [stdout] | ^^^^^^^^ --------- the same lifetime is hidden here
[INFO] [stdout] | |
[INFO] [stdout] | the lifetime is elided here
[INFO] [stdout] |
[INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout] |
[INFO] [stdout] 185 | pub fn new(frames: &[Frame]) -> Tetromino<'_> {
[INFO] [stdout] | ++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.27s
[INFO] running `Command { std: "docker" "inspect" "4b2d1886cb1f0cc2c7e15823fd8b8197a30b5be314ac6f7257e7db2b47289b40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4b2d1886cb1f0cc2c7e15823fd8b8197a30b5be314ac6f7257e7db2b47289b40", kill_on_drop: false }`
[INFO] [stdout] 4b2d1886cb1f0cc2c7e15823fd8b8197a30b5be314ac6f7257e7db2b47289b40