[INFO] cloning repository https://github.com/ablakey/gameboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ablakey/gameboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fablakey%2Fgameboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fablakey%2Fgameboy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dc2abcae57f271cb7873f9fd5cc77cd6e30fb4d1 [INFO] checking ablakey/gameboy/dc2abcae57f271cb7873f9fd5cc77cd6e30fb4d1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fablakey%2Fgameboy" "/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/ablakey/gameboy on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ablakey/gameboy [INFO] finished tweaking git repo https://github.com/ablakey/gameboy [INFO] tweaked toml for git repo https://github.com/ablakey/gameboy written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ablakey/gameboy 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4bdc3ad53506d42f8946f43be19e7406c4abd8c5593044ff18df9a5688f34d1a [INFO] running `Command { std: "docker" "start" "-a" "4bdc3ad53506d42f8946f43be19e7406c4abd8c5593044ff18df9a5688f34d1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4bdc3ad53506d42f8946f43be19e7406c4abd8c5593044ff18df9a5688f34d1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bdc3ad53506d42f8946f43be19e7406c4abd8c5593044ff18df9a5688f34d1a", kill_on_drop: false }` [INFO] [stdout] 4bdc3ad53506d42f8946f43be19e7406c4abd8c5593044ff18df9a5688f34d1a [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca873112e949784c5c26eca731bf1153dfad234745df887d1d790af4e29c9546 [INFO] running `Command { std: "docker" "start" "-a" "ca873112e949784c5c26eca731bf1153dfad234745df887d1d790af4e29c9546", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling sdl2 v0.33.0 [INFO] [stderr] Checking c_vec v1.3.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking pretty-hex v0.2.1 [INFO] [stderr] Compiling sdl2-sys v0.33.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking gameboy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/guest/mmu/apu.rs:146:22 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn rb(&self, address: u16) -> u8 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length_enabled` [INFO] [stdout] --> src/guest/systems/apu/square.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | length_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_length_enabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> src/guest/mmu/apu.rs:146:22 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn rb(&self, address: u16) -> u8 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `square1`, `square2`, and `wave` are never read [INFO] [stdout] --> src/guest/systems/apu/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct APU { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 14 | clock: usize, [INFO] [stdout] 15 | square1: SquareVoice, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | square2: SquareVoice, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | wave: WaveVoice, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DUTY_CYCLES` is never used [INFO] [stdout] --> src/guest/systems/apu/square.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const DUTY_CYCLES: [[i32; 8]; 4] = [ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `clock`, `duty_phase`, and `volume` are never read [INFO] [stdout] --> src/guest/systems/apu/square.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SquareVoice { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 12 | clock: usize, // Track where we are in playing the current phase of the duty_cycle. [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | duty_phase: usize, // Track which of the 8 steps in the current duty cycle we're playing. [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | volume: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tick` is never used [INFO] [stdout] --> src/guest/systems/apu/square.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl SquareVoice { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn tick( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OUTPUT_VOLUME` is never used [INFO] [stdout] --> src/guest/systems/apu/wave.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const OUTPUT_VOLUME: [f32; 4] = [0.0, 1.0, 0.5, 0.25]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `clock` and `sample_index` are never read [INFO] [stdout] --> src/guest/systems/apu/wave.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct WaveVoice { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | clock: usize, // Track where we are in playing the current wave sample. [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | sample_index: usize, // Current sample (0-31) being played. [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tick` is never used [INFO] [stdout] --> src/guest/systems/apu/wave.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl WaveVoice { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn tick(&mut self, mmu: &MMU) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `length_enabled` [INFO] [stdout] --> src/guest/systems/apu/square.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | length_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_length_enabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `square1`, `square2`, and `wave` are never read [INFO] [stdout] --> src/guest/systems/apu/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct APU { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 14 | clock: usize, [INFO] [stdout] 15 | square1: SquareVoice, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | square2: SquareVoice, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | wave: WaveVoice, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DUTY_CYCLES` is never used [INFO] [stdout] --> src/guest/systems/apu/square.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const DUTY_CYCLES: [[i32; 8]; 4] = [ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `clock`, `duty_phase`, and `volume` are never read [INFO] [stdout] --> src/guest/systems/apu/square.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SquareVoice { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 12 | clock: usize, // Track where we are in playing the current phase of the duty_cycle. [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | duty_phase: usize, // Track which of the 8 steps in the current duty cycle we're playing. [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | volume: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tick` is never used [INFO] [stdout] --> src/guest/systems/apu/square.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl SquareVoice { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn tick( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OUTPUT_VOLUME` is never used [INFO] [stdout] --> src/guest/systems/apu/wave.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const OUTPUT_VOLUME: [f32; 4] = [0.0, 1.0, 0.5, 0.25]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `clock` and `sample_index` are never read [INFO] [stdout] --> src/guest/systems/apu/wave.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct WaveVoice { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 7 | clock: usize, // Track where we are in playing the current wave sample. [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | sample_index: usize, // Current sample (0-31) being played. [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `tick` is never used [INFO] [stdout] --> src/guest/systems/apu/wave.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl WaveVoice { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn tick(&mut self, mmu: &MMU) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.71s [INFO] running `Command { std: "docker" "inspect" "ca873112e949784c5c26eca731bf1153dfad234745df887d1d790af4e29c9546", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca873112e949784c5c26eca731bf1153dfad234745df887d1d790af4e29c9546", kill_on_drop: false }` [INFO] [stdout] ca873112e949784c5c26eca731bf1153dfad234745df887d1d790af4e29c9546