[INFO] cloning repository https://github.com/kirinokirino/rs-piano-midi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kirinokirino/rs-piano-midi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirinokirino%2Frs-piano-midi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirinokirino%2Frs-piano-midi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d3f5f5d6f73d0cfc115d01d03e8996914c4c5b7 [INFO] checking kirinokirino/rs-piano-midi against master#c3def263a44e07e09ae6d57abfc8650227fb4972 for pr-118916 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirinokirino%2Frs-piano-midi" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kirinokirino/rs-piano-midi on toolchain c3def263a44e07e09ae6d57abfc8650227fb4972 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kirinokirino/rs-piano-midi [INFO] finished tweaking git repo https://github.com/kirinokirino/rs-piano-midi [INFO] tweaked toml for git repo https://github.com/kirinokirino/rs-piano-midi written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kirinokirino/rs-piano-midi 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" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking kirinokirino/rs-piano-midi against try#3d5258f568a4b4970d455e4e29f39fd691b5a41a for pr-118916 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirinokirino%2Frs-piano-midi" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kirinokirino/rs-piano-midi on toolchain 3d5258f568a4b4970d455e4e29f39fd691b5a41a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3d5258f568a4b4970d455e4e29f39fd691b5a41a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kirinokirino/rs-piano-midi [INFO] finished tweaking git repo https://github.com/kirinokirino/rs-piano-midi [INFO] tweaked toml for git repo https://github.com/kirinokirino/rs-piano-midi written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kirinokirino/rs-piano-midi 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" "+3d5258f568a4b4970d455e4e29f39fd691b5a41a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking kirinokirino/rs-piano-midi against try#3d5258f568a4b4970d455e4e29f39fd691b5a41a for pr-118916 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkirinokirino%2Frs-piano-midi" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kirinokirino/rs-piano-midi on toolchain 3d5258f568a4b4970d455e4e29f39fd691b5a41a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3d5258f568a4b4970d455e4e29f39fd691b5a41a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kirinokirino/rs-piano-midi [INFO] finished tweaking git repo https://github.com/kirinokirino/rs-piano-midi [INFO] tweaked toml for git repo https://github.com/kirinokirino/rs-piano-midi written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kirinokirino/rs-piano-midi 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" "+3d5258f568a4b4970d455e4e29f39fd691b5a41a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded midly v0.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3d5258f568a4b4970d455e4e29f39fd691b5a41a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e4a77589fd81468c967f057cd9038613276b929677a7d69853b00f7c3dbc4bd [INFO] running `Command { std: "docker" "start" "-a" "8e4a77589fd81468c967f057cd9038613276b929677a7d69853b00f7c3dbc4bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e4a77589fd81468c967f057cd9038613276b929677a7d69853b00f7c3dbc4bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e4a77589fd81468c967f057cd9038613276b929677a7d69853b00f7c3dbc4bd", kill_on_drop: false }` [INFO] [stdout] 8e4a77589fd81468c967f057cd9038613276b929677a7d69853b00f7c3dbc4bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3d5258f568a4b4970d455e4e29f39fd691b5a41a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed8514b3b2d2eb97a98fba8b787ee231715c1e87b6e34e38586d3c4daf13cd78 [INFO] running `Command { std: "docker" "start" "-a" "ed8514b3b2d2eb97a98fba8b787ee231715c1e87b6e34e38586d3c4daf13cd78", kill_on_drop: false }` [INFO] [stderr] Checking midly v0.5.3 [INFO] [stderr] Checking glam v0.24.2 [INFO] [stderr] Checking memmap2 v0.9.0 [INFO] [stderr] Checking rs-piano-midi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read src/bin/../../assets/NightOfNights.mid: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/midi_tool.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | const MIDI_FILE: &'static [u8] = include_bytes!("../../assets/NightOfNights.mid"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/bin/../../assets/NightOfNights.mid: No such file or directory (os error 2) [INFO] [stdout] --> src/bin/midi_tool.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | const MIDI_FILE: &'static [u8] = include_bytes!("../../assets/NightOfNights.mid"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [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 `rs-piano-midi` (bin "midi_tool" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rs-piano-midi` (bin "midi_tool") due to 2 previous errors [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | for i in 0..fastrand::usize(2..5) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:207:55 [INFO] [stdout] | [INFO] [stdout] 207 | let skip = NOTES.partition_point(|(note_time, key)| note_time < &self.time); [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/main.rs:211:38 [INFO] [stdout] | [INFO] [stdout] 211 | .take_while(|(note_time, key)| note_time < &(self.time + VIEW)) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | let mut palette: Vec<_> = PALETTE.iter().map(hex_to_rgb).collect(); [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: unused variable: `i` [INFO] [stdout] --> src/main.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | for i in 0..fastrand::usize(2..5) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:207:55 [INFO] [stdout] | [INFO] [stdout] 207 | let skip = NOTES.partition_point(|(note_time, key)| note_time < &self.time); [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/main.rs:211:38 [INFO] [stdout] | [INFO] [stdout] 211 | .take_while(|(note_time, key)| note_time < &(self.time + VIEW)) [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | let mut palette: Vec<_> = PALETTE.iter().map(hex_to_rgb).collect(); [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: variant `Blend` is never constructed [INFO] [stdout] --> src/main.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 242 | enum BlendMode { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 243 | Replace, [INFO] [stdout] 244 | Blend, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Blend` is never constructed [INFO] [stdout] --> src/main.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 242 | enum BlendMode { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 243 | Replace, [INFO] [stdout] 244 | Blend, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `dim`, `random`, `draw_circle`, and `draw_square` are never used [INFO] [stdout] --> src/main.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 254 | impl Canvas { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn dim(&mut self, value: i16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | fn random(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | fn draw_circle(&mut self, pos: Vec2, radius: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | fn draw_square(&mut self, top_left: Vec2, bottom_right: Vec2) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `dim`, `random`, `draw_circle`, and `draw_square` are never used [INFO] [stdout] --> src/main.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 254 | impl Canvas { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn dim(&mut self, value: i16) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | fn random(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | fn draw_circle(&mut self, pos: Vec2, radius: f32) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | fn draw_square(&mut self, top_left: Vec2, bottom_right: Vec2) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ed8514b3b2d2eb97a98fba8b787ee231715c1e87b6e34e38586d3c4daf13cd78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed8514b3b2d2eb97a98fba8b787ee231715c1e87b6e34e38586d3c4daf13cd78", kill_on_drop: false }` [INFO] [stdout] ed8514b3b2d2eb97a98fba8b787ee231715c1e87b6e34e38586d3c4daf13cd78