[INFO] cloning repository https://github.com/mdu02/ferric-8 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mdu02/ferric-8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdu02%2Fferric-8", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdu02%2Fferric-8'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5cbcb687d15d6576d8b9e4c9f7229b450e5b1d4 [INFO] checking mdu02/ferric-8 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdu02%2Fferric-8" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mdu02/ferric-8 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mdu02/ferric-8 [INFO] finished tweaking git repo https://github.com/mdu02/ferric-8 [INFO] tweaked toml for git repo https://github.com/mdu02/ferric-8 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/mdu02/ferric-8 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00c233eb86cb156da986cb35eb91d1123187721b23fa46032a3f4c67f3554216 [INFO] running `Command { std: "docker" "start" "-a" "00c233eb86cb156da986cb35eb91d1123187721b23fa46032a3f4c67f3554216", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00c233eb86cb156da986cb35eb91d1123187721b23fa46032a3f4c67f3554216", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00c233eb86cb156da986cb35eb91d1123187721b23fa46032a3f4c67f3554216", kill_on_drop: false }` [INFO] [stdout] 00c233eb86cb156da986cb35eb91d1123187721b23fa46032a3f4c67f3554216 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03e9cb9a0ca040de33a1fa844776f01a3ff41ff210f1201de6b4211811b01dd3 [INFO] running `Command { std: "docker" "start" "-a" "03e9cb9a0ca040de33a1fa844776f01a3ff41ff210f1201de6b4211811b01dd3", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling sdl2-sys v0.34.5 [INFO] [stderr] Compiling sdl2 v0.34.5 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking ferric-8 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/cpu.rs (2 fixes) [INFO] [stderr] Fixed src/word_register.rs (1 fix) [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stderr] Fixed src/speaker.rs (1 fix) [INFO] [stderr] Fixed src/byte_register.rs (1 fix) [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/speaker.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | 0.0..=0.5 => self.volume, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/speaker.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | 0.0..=0.5 => self.volume, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_word` [INFO] [stdout] --> src/ram.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn write_word(&mut self, adr: u16, val: u16) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `core_dump` [INFO] [stdout] --> src/ram.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn core_dump(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/byte_register.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | name: String [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/word_register.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | name: String [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `increment_reg` [INFO] [stdout] --> src/word_register.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn increment_reg(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decrement_reg` [INFO] [stdout] --> src/word_register.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn decrement_reg(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_to_console` [INFO] [stdout] --> src/graphics_buffer.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn draw_to_console(&self){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/graphics_buffer.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | / canvas.fill_rect( [INFO] [stdout] 54 | | Rect::new((PIXEL_WIDTH * i as u32) as i32, (PIXEL_WIDTH * j as u32) as i32, [INFO] [stdout] 55 | | PIXEL_WIDTH, PIXEL_WIDTH) [INFO] [stdout] 56 | | ); [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/cpu.rs (1 fix) [INFO] [stderr] Fixed src/graphics_buffer.rs (1 fix) [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/speaker.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | 0.0..=0.5 => self.volume, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/speaker.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | 0.0..=0.5 => self.volume, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `core_dump` [INFO] [stdout] --> src/ram.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn core_dump(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ret_test` [INFO] [stdout] --> src/cpu.rs:333:8 [INFO] [stdout] | [INFO] [stdout] 333 | fn ret_test() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/byte_register.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | name: String [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/word_register.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | name: String [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_to_console` [INFO] [stdout] --> src/graphics_buffer.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn draw_to_console(&self){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/graphics_buffer.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | / canvas.fill_rect( [INFO] [stdout] 54 | | Rect::new((PIXEL_WIDTH * i as u32) as i32, (PIXEL_WIDTH * j as u32) as i32, [INFO] [stdout] 55 | | PIXEL_WIDTH, PIXEL_WIDTH) [INFO] [stdout] 56 | | ); [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.80s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking ferric-8 v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/speaker.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | 0.0..=0.5 => self.volume, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/speaker.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | 0.0..=0.5 => self.volume, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_word` [INFO] [stdout] --> src/ram.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn write_word(&mut self, adr: u16, val: u16) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `core_dump` [INFO] [stdout] --> src/ram.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn core_dump(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/byte_register.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | name: String [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/word_register.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | name: String [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `increment_reg` [INFO] [stdout] --> src/word_register.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn increment_reg(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `decrement_reg` [INFO] [stdout] --> src/word_register.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn decrement_reg(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_to_console` [INFO] [stdout] --> src/graphics_buffer.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn draw_to_console(&self){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/graphics_buffer.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | / canvas.fill_rect( [INFO] [stdout] 54 | | Rect::new((PIXEL_WIDTH * i as u32) as i32, (PIXEL_WIDTH * j as u32) as i32, [INFO] [stdout] 55 | | PIXEL_WIDTH, PIXEL_WIDTH) [INFO] [stdout] 56 | | ); [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/speaker.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | 0.0..=0.5 => self.volume, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/speaker.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | 0.0..=0.5 => self.volume, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `core_dump` [INFO] [stdout] --> src/ram.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn core_dump(&self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ret_test` [INFO] [stdout] --> src/cpu.rs:333:8 [INFO] [stdout] | [INFO] [stdout] 333 | fn ret_test() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/byte_register.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | name: String [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/word_register.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | name: String [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_to_console` [INFO] [stdout] --> src/graphics_buffer.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn draw_to_console(&self){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/graphics_buffer.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | / canvas.fill_rect( [INFO] [stdout] 54 | | Rect::new((PIXEL_WIDTH * i as u32) as i32, (PIXEL_WIDTH * j as u32) as i32, [INFO] [stdout] 55 | | PIXEL_WIDTH, PIXEL_WIDTH) [INFO] [stdout] 56 | | ); [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.43s [INFO] running `Command { std: "docker" "inspect" "03e9cb9a0ca040de33a1fa844776f01a3ff41ff210f1201de6b4211811b01dd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03e9cb9a0ca040de33a1fa844776f01a3ff41ff210f1201de6b4211811b01dd3", kill_on_drop: false }` [INFO] [stdout] 03e9cb9a0ca040de33a1fa844776f01a3ff41ff210f1201de6b4211811b01dd3