[INFO] cloning repository https://github.com/gabriel-nadalin/duvet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gabriel-nadalin/duvet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabriel-nadalin%2Fduvet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabriel-nadalin%2Fduvet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 15d3265c35d2229b76df111a97d692a954d48634 [INFO] checking gabriel-nadalin/duvet against master#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabriel-nadalin%2Fduvet" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gabriel-nadalin/duvet on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gabriel-nadalin/duvet [INFO] finished tweaking git repo https://github.com/gabriel-nadalin/duvet [INFO] tweaked toml for git repo https://github.com/gabriel-nadalin/duvet written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gabriel-nadalin/duvet 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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded termion v4.0.0 [INFO] [stderr] Downloaded midly v0.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d63ab37d4d58c5ae3295f5a14739738b05197e8f1e50328e5dc801ff49541f3 [INFO] running `Command { std: "docker" "start" "-a" "2d63ab37d4d58c5ae3295f5a14739738b05197e8f1e50328e5dc801ff49541f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d63ab37d4d58c5ae3295f5a14739738b05197e8f1e50328e5dc801ff49541f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d63ab37d4d58c5ae3295f5a14739738b05197e8f1e50328e5dc801ff49541f3", kill_on_drop: false }` [INFO] [stdout] 2d63ab37d4d58c5ae3295f5a14739738b05197e8f1e50328e5dc801ff49541f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf4891bd74f41c93423c468cffcd62c183901d9911f442de7b50db8e9d70ea02 [INFO] running `Command { std: "docker" "start" "-a" "cf4891bd74f41c93423c468cffcd62c183901d9911f442de7b50db8e9d70ea02", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking termion v4.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking alsa v0.9.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking midly v0.5.3 [INFO] [stderr] Checking duvet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/player.rs:66:49 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn update(&mut self, synth: &mut Synth, time: f64) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/player.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | fn handle_key_release(&mut self, key: Key, note: u8, synth: &mut Synth) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/player.rs:108:63 [INFO] [stdout] | [INFO] [stdout] 108 | if !self.stdin.by_ref().keys().any(|k| matches!(k, Ok(key))) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `voice` [INFO] [stdout] --> src/player.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let voice = Instrument::lead_square(0.1); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_voice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bass` [INFO] [stdout] --> src/player.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let bass = Instrument::lead_square(0.1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guitar` [INFO] [stdout] --> src/player.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let guitar = Instrument::lead_sawtooth(0.1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_guitar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guitar2` [INFO] [stdout] --> src/player.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let guitar2 = Instrument::lead_sawtooth(0.1); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guitar2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `violin` [INFO] [stdout] --> src/player.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let violin = Instrument::lead_triangle(0.1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_violin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bell` [INFO] [stdout] --> src/player.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let bell = Instrument::lead_square(0.1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sine` [INFO] [stdout] --> src/player.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let sine = Instrument::lead_sine(0.1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `drums` [INFO] [stdout] --> src/player.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let drums = Instrument::drum_kit(0.25); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_drums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `voice2` [INFO] [stdout] --> src/player.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let voice2 = Instrument::lead_triangle(0.1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_voice2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guitar3` [INFO] [stdout] --> src/player.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let guitar3 = Instrument::lead_square(0.1); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guitar3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/player.rs:66:49 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn update(&mut self, synth: &mut Synth, time: f64) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_key_event` is never used [INFO] [stdout] --> src/player.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl KeyboardPlayer { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | fn handle_key_event(&mut self, key: Key, note: u8, synth: &mut Synth) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/player.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | fn handle_key_release(&mut self, key: Key, note: u8, synth: &mut Synth) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/player.rs:108:63 [INFO] [stdout] | [INFO] [stdout] 108 | if !self.stdin.by_ref().keys().any(|k| matches!(k, Ok(key))) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `voice` [INFO] [stdout] --> src/player.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let voice = Instrument::lead_square(0.1); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_voice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bass` [INFO] [stdout] --> src/player.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let bass = Instrument::lead_square(0.1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guitar` [INFO] [stdout] --> src/player.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let guitar = Instrument::lead_sawtooth(0.1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_guitar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guitar2` [INFO] [stdout] --> src/player.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let guitar2 = Instrument::lead_sawtooth(0.1); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guitar2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `violin` [INFO] [stdout] --> src/player.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let violin = Instrument::lead_triangle(0.1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_violin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bell` [INFO] [stdout] --> src/player.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let bell = Instrument::lead_square(0.1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sine` [INFO] [stdout] --> src/player.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let sine = Instrument::lead_sine(0.1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `drums` [INFO] [stdout] --> src/player.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let drums = Instrument::drum_kit(0.25); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_drums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `voice2` [INFO] [stdout] --> src/player.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let voice2 = Instrument::lead_triangle(0.1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_voice2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guitar3` [INFO] [stdout] --> src/player.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let guitar3 = Instrument::lead_square(0.1); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guitar3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `handle_key_event` is never used [INFO] [stdout] --> src/player.rs:99:8 [INFO] [stdout] | [INFO] [stdout] 54 | impl KeyboardPlayer { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | fn handle_key_event(&mut self, key: Key, note: u8, synth: &mut Synth) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/bin/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut player = Player::new_midi(file_path, AudioMode::Play); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/bin/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut player = Player::new_midi(file_path, AudioMode::Play); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let mut player = Player::new_midi(file_path, AudioMode::Play); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/main.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let mut player = Player::new_midi(file_path, AudioMode::Play); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.68s [INFO] running `Command { std: "docker" "inspect" "cf4891bd74f41c93423c468cffcd62c183901d9911f442de7b50db8e9d70ea02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf4891bd74f41c93423c468cffcd62c183901d9911f442de7b50db8e9d70ea02", kill_on_drop: false }` [INFO] [stdout] cf4891bd74f41c93423c468cffcd62c183901d9911f442de7b50db8e9d70ea02 [INFO] checking gabriel-nadalin/duvet against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgabriel-nadalin%2Fduvet" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gabriel-nadalin/duvet on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gabriel-nadalin/duvet [INFO] finished tweaking git repo https://github.com/gabriel-nadalin/duvet [INFO] tweaked toml for git repo https://github.com/gabriel-nadalin/duvet written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/gabriel-nadalin/duvet 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" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 12adefa0b87920fa5be2ccdb35be4b30b9cd86fa3847ab881b29d0e698de22fa [INFO] running `Command { std: "docker" "start" "-a" "12adefa0b87920fa5be2ccdb35be4b30b9cd86fa3847ab881b29d0e698de22fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12adefa0b87920fa5be2ccdb35be4b30b9cd86fa3847ab881b29d0e698de22fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12adefa0b87920fa5be2ccdb35be4b30b9cd86fa3847ab881b29d0e698de22fa", kill_on_drop: false }` [INFO] [stdout] 12adefa0b87920fa5be2ccdb35be4b30b9cd86fa3847ab881b29d0e698de22fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a97d790a304c49bc3c8a1fbe684ceab826f85d05b0af613c2dd453dc70aadedb [INFO] running `Command { std: "docker" "start" "-a" "a97d790a304c49bc3c8a1fbe684ceab826f85d05b0af613c2dd453dc70aadedb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking hound v3.5.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking termion v4.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking alsa v0.9.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking midly v0.5.3 [INFO] [stderr] Checking duvet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/synth/effect.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | let amp_values = (2.pow(bits - 1)) as f32; [INFO] [stdout] | ^^^ multiple `pow` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 8 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/synth/effect.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | let amp_values = (2.pow(bits - 1)) as f32; [INFO] [stdout] | ^^^ multiple `pow` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 8 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::Pow` [INFO] [stdout] --> src/synth/effect.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_traits::Pow; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::Pow` [INFO] [stdout] --> src/synth/effect.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_traits::Pow; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/player.rs:66:49 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn update(&mut self, synth: &mut Synth, time: f64) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/player.rs:66:49 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn update(&mut self, synth: &mut Synth, time: f64) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/player.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | fn handle_key_release(&mut self, key: Key, note: u8, synth: &mut Synth) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/player.rs:108:63 [INFO] [stdout] | [INFO] [stdout] 108 | if !self.stdin.by_ref().keys().any(|k| matches!(k, Ok(key))) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `voice` [INFO] [stdout] --> src/player.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let voice = Instrument::lead_square(0.1); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_voice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bass` [INFO] [stdout] --> src/player.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let bass = Instrument::lead_square(0.1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guitar` [INFO] [stdout] --> src/player.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let guitar = Instrument::lead_sawtooth(0.1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_guitar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guitar2` [INFO] [stdout] --> src/player.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let guitar2 = Instrument::lead_sawtooth(0.1); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guitar2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `violin` [INFO] [stdout] --> src/player.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let violin = Instrument::lead_triangle(0.1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_violin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bell` [INFO] [stdout] --> src/player.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let bell = Instrument::lead_square(0.1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sine` [INFO] [stdout] --> src/player.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let sine = Instrument::lead_sine(0.1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `drums` [INFO] [stdout] --> src/player.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let drums = Instrument::drum_kit(0.25); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_drums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `voice2` [INFO] [stdout] --> src/player.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let voice2 = Instrument::lead_triangle(0.1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_voice2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guitar3` [INFO] [stdout] --> src/player.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let guitar3 = Instrument::lead_square(0.1); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guitar3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/player.rs:107:38 [INFO] [stdout] | [INFO] [stdout] 107 | fn handle_key_release(&mut self, key: Key, note: u8, synth: &mut Synth) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/player.rs:108:63 [INFO] [stdout] | [INFO] [stdout] 108 | if !self.stdin.by_ref().keys().any(|k| matches!(k, Ok(key))) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `voice` [INFO] [stdout] --> src/player.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let voice = Instrument::lead_square(0.1); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_voice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bass` [INFO] [stdout] --> src/player.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let bass = Instrument::lead_square(0.1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guitar` [INFO] [stdout] --> src/player.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let guitar = Instrument::lead_sawtooth(0.1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_guitar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guitar2` [INFO] [stdout] --> src/player.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | let guitar2 = Instrument::lead_sawtooth(0.1); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guitar2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `violin` [INFO] [stdout] --> src/player.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | let violin = Instrument::lead_triangle(0.1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_violin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bell` [INFO] [stdout] --> src/player.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let bell = Instrument::lead_square(0.1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_bell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sine` [INFO] [stdout] --> src/player.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let sine = Instrument::lead_sine(0.1); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `drums` [INFO] [stdout] --> src/player.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | let drums = Instrument::drum_kit(0.25); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_drums` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `voice2` [INFO] [stdout] --> src/player.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let voice2 = Instrument::lead_triangle(0.1); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_voice2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guitar3` [INFO] [stdout] --> src/player.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let guitar3 = Instrument::lead_square(0.1); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guitar3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `duvet` (lib test) due to 2 previous errors; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `duvet` (lib) due to 2 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a97d790a304c49bc3c8a1fbe684ceab826f85d05b0af613c2dd453dc70aadedb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a97d790a304c49bc3c8a1fbe684ceab826f85d05b0af613c2dd453dc70aadedb", kill_on_drop: false }` [INFO] [stdout] a97d790a304c49bc3c8a1fbe684ceab826f85d05b0af613c2dd453dc70aadedb