[INFO] cloning repository https://github.com/Dgarc359/synth-01 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dgarc359/synth-01" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDgarc359%2Fsynth-01", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDgarc359%2Fsynth-01'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c0eb0ec26c7f42d69c9f3411723845051c747bc6 [INFO] checking Dgarc359/synth-01 against master#e9182f195b8505c87c4bd055b9f6e114ccda0981 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDgarc359%2Fsynth-01" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Dgarc359/synth-01 [INFO] finished tweaking git repo https://github.com/Dgarc359/synth-01 [INFO] tweaked toml for git repo https://github.com/Dgarc359/synth-01 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Dgarc359/synth-01 on toolchain e9182f195b8505c87c4bd055b9f6e114ccda0981 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Dgarc359/synth-01 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" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded midir v0.10.1 [INFO] [stderr] Downloaded coremidi-sys v3.1.1 [INFO] [stderr] Downloaded coremidi v0.8.0 [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f9c5c370f815ad2231adecbb4b7a189a6c06562f81186ea7f604d03d2f8e853 [INFO] running `Command { std: "docker" "start" "-a" "4f9c5c370f815ad2231adecbb4b7a189a6c06562f81186ea7f604d03d2f8e853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f9c5c370f815ad2231adecbb4b7a189a6c06562f81186ea7f604d03d2f8e853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f9c5c370f815ad2231adecbb4b7a189a6c06562f81186ea7f604d03d2f8e853", kill_on_drop: false }` [INFO] [stdout] 4f9c5c370f815ad2231adecbb4b7a189a6c06562f81186ea7f604d03d2f8e853 [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad099fbd2e25b4ff7bccd421bf6c06d21591c60030d5bce62ec37ceadb0a1d29 [INFO] running `Command { std: "docker" "start" "-a" "ad099fbd2e25b4ff7bccd421bf6c06d21591c60030d5bce62ec37ceadb0a1d29", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling sdl2 v0.37.0 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking chrono v0.4.40 [INFO] [stderr] Compiling sdl2-sys v0.37.0 [INFO] [stderr] Checking alsa v0.9.1 [INFO] [stderr] Checking midir v0.10.1 [INFO] [stderr] Checking synth-01 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/midi.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/midi.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 82 | Note::On { note, volume, .. } => SoundCommand::NoteOn { [INFO] [stdout] | ----------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 88 | Note::Off { note, .. } => SoundCommand::NoteOff { [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 92 | Note::Encoder { volume, note, .. } => SoundCommand::Encode { [INFO] [stdout] | ---------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 96 | _ => todo!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/midi.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/midi.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 82 | Note::On { note, volume, .. } => SoundCommand::NoteOn { [INFO] [stdout] | ----------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 88 | Note::Off { note, .. } => SoundCommand::NoteOff { [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 92 | Note::Encoder { volume, note, .. } => SoundCommand::Encode { [INFO] [stdout] | ---------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 96 | _ => todo!(), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `square_wave` is never used [INFO] [stdout] --> src/audio_waves.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn square_wave(phase: f32, volume: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `square_wave` is never used [INFO] [stdout] --> src/audio_waves.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn square_wave(phase: f32, volume: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `volume` and `phase_angle` are never read [INFO] [stdout] --> src/midi.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | NoteOn { midi_note: u8, freq: f32, volume: f32, phase_angle: f32 }, [INFO] [stdout] | ------ fields in this variant ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SoundCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `volume` and `phase_angle` are never read [INFO] [stdout] --> src/midi.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | NoteOn { midi_note: u8, freq: f32, volume: f32, phase_angle: f32 }, [INFO] [stdout] | ------ fields in this variant ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SoundCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `freq` is never read [INFO] [stdout] --> src/midi.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | NoteOff { midi_note: u8, freq: f32 }, [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SoundCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `decrement_attack` is never used [INFO] [stdout] --> src/midi.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Wave { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn decrement_attack(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `iso8601` is never used [INFO] [stdout] --> src/util.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn iso8601(st: &std::time::SystemTime) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `freq` is never read [INFO] [stdout] --> src/midi.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | NoteOff { midi_note: u8, freq: f32 }, [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SoundCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `decrement_attack` is never used [INFO] [stdout] --> src/midi.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Wave { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn decrement_attack(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `iso8601` is never used [INFO] [stdout] --> src/util.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn iso8601(st: &std::time::SystemTime) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 47s [INFO] running `Command { std: "docker" "inspect" "ad099fbd2e25b4ff7bccd421bf6c06d21591c60030d5bce62ec37ceadb0a1d29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad099fbd2e25b4ff7bccd421bf6c06d21591c60030d5bce62ec37ceadb0a1d29", kill_on_drop: false }` [INFO] [stdout] ad099fbd2e25b4ff7bccd421bf6c06d21591c60030d5bce62ec37ceadb0a1d29