[INFO] cloning repository https://github.com/andbass/Chip8 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andbass/Chip8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandbass%2FChip8", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandbass%2FChip8'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aac532fef25ea6a61a6ea54eaedd6237de6235b7 [INFO] building andbass/Chip8 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandbass%2FChip8" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andbass/Chip8 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andbass/Chip8 [INFO] finished tweaking git repo https://github.com/andbass/Chip8 [INFO] tweaked toml for git repo https://github.com/andbass/Chip8 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/andbass/Chip8 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating git repository `https://github.com/Rust-SDL2/rust-sdl2` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand v0.3.19 [INFO] [stderr] Downloaded rand v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f119ab89d6410aa940a328c5a0d86bda914d4e75d5d308d5cdc141a80ba06000 [INFO] running `Command { std: "docker" "start" "-a" "f119ab89d6410aa940a328c5a0d86bda914d4e75d5d308d5cdc141a80ba06000", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f119ab89d6410aa940a328c5a0d86bda914d4e75d5d308d5cdc141a80ba06000", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f119ab89d6410aa940a328c5a0d86bda914d4e75d5d308d5cdc141a80ba06000", kill_on_drop: false }` [INFO] [stdout] f119ab89d6410aa940a328c5a0d86bda914d4e75d5d308d5cdc141a80ba06000 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1808a3d6f16016a7e4f24df2f5206c77e25a5b3411a88f19c5d34af0599dfcd1 [INFO] running `Command { std: "docker" "start" "-a" "1808a3d6f16016a7e4f24df2f5206c77e25a5b3411a88f19c5d34af0599dfcd1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.1.41 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling libc v0.2.34 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling chip8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling sdl2-sys v0.31.0 (https://github.com/Rust-SDL2/rust-sdl2#43ca1ba0) [INFO] [stderr] Compiling rand v0.3.19 [INFO] [stderr] Compiling rand v0.4.1 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling num v0.1.41 [INFO] [stderr] Compiling sdl2 v0.31.0 (https://github.com/Rust-SDL2/rust-sdl2#43ca1ba0) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/machine.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | try!(program.read_to_end(&mut bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/machine.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | try!(self.execute_opcode(opcode, keys)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/machine.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | try!(writeln!(fmt, "Program Counter: 0x{:X} ({})", self.pc, self.pc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/machine.rs:387:9 [INFO] [stdout] | [INFO] [stdout] 387 | try!(writeln!(fmt, "Address Register: 0x{:X} ({})", self.address_reg, self.address_reg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/machine.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | try!(writeln!(fmt, "Stack: {:?}", self.stack)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/machine.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | try!(writeln!(fmt, "Delay Timer: {}", self.delay_timer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/machine.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | try!(writeln!(fmt, "Sound Timer: {}", self.sound_timer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/frontend/mod.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | fn emulate_loop(&mut self, Chip8); [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Chip8` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2` [INFO] [stdout] --> src/frontend/sdl.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sdl2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WindowPos` and `Window` [INFO] [stdout] --> src/frontend/sdl.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::video::{Window, WindowPos}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::keyboard` [INFO] [stdout] --> src/frontend/sdl.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sdl2::keyboard; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/frontend/sdl.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut drawer = &mut self.renderer; [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 `Result` that must be used [INFO] [stdout] --> src/frontend/sdl.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | / drawer.fill_rect(Rect::new( [INFO] [stdout] 54 | | x as i32 * GRID_SIZE, [INFO] [stdout] 55 | | y as i32 * GRID_SIZE, [INFO] [stdout] ... | [INFO] [stdout] 58 | | GRID_SIZE as u32, [INFO] [stdout] 59 | | )); [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 53 | let _ = drawer.fill_rect(Rect::new( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.39s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "1808a3d6f16016a7e4f24df2f5206c77e25a5b3411a88f19c5d34af0599dfcd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1808a3d6f16016a7e4f24df2f5206c77e25a5b3411a88f19c5d34af0599dfcd1", kill_on_drop: false }` [INFO] [stdout] 1808a3d6f16016a7e4f24df2f5206c77e25a5b3411a88f19c5d34af0599dfcd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d469c6c23bdc5aea1b84c30524980edb0cba6ba22d5d9b23218fe7b1d9235846 [INFO] running `Command { std: "docker" "start" "-a" "d469c6c23bdc5aea1b84c30524980edb0cba6ba22d5d9b23218fe7b1d9235846", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling chip8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/machine.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | try!(program.read_to_end(&mut bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/machine.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | try!(self.execute_opcode(opcode, keys)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/machine.rs:386:9 [INFO] [stdout] | [INFO] [stdout] 386 | try!(writeln!(fmt, "Program Counter: 0x{:X} ({})", self.pc, self.pc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/machine.rs:387:9 [INFO] [stdout] | [INFO] [stdout] 387 | try!(writeln!(fmt, "Address Register: 0x{:X} ({})", self.address_reg, self.address_reg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/machine.rs:388:9 [INFO] [stdout] | [INFO] [stdout] 388 | try!(writeln!(fmt, "Stack: {:?}", self.stack)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/machine.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | try!(writeln!(fmt, "Delay Timer: {}", self.delay_timer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/machine.rs:390:9 [INFO] [stdout] | [INFO] [stdout] 390 | try!(writeln!(fmt, "Sound Timer: {}", self.sound_timer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/frontend/mod.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | fn emulate_loop(&mut self, Chip8); [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Chip8` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2` [INFO] [stdout] --> src/frontend/sdl.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sdl2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WindowPos` and `Window` [INFO] [stdout] --> src/frontend/sdl.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::video::{Window, WindowPos}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::keyboard` [INFO] [stdout] --> src/frontend/sdl.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sdl2::keyboard; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/frontend/sdl.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut drawer = &mut self.renderer; [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 `Result` that must be used [INFO] [stdout] --> src/frontend/sdl.rs:53:21 [INFO] [stdout] | [INFO] [stdout] 53 | / drawer.fill_rect(Rect::new( [INFO] [stdout] 54 | | x as i32 * GRID_SIZE, [INFO] [stdout] 55 | | y as i32 * GRID_SIZE, [INFO] [stdout] ... | [INFO] [stdout] 58 | | GRID_SIZE as u32, [INFO] [stdout] 59 | | )); [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 53 | let _ = drawer.fill_rect(Rect::new( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "d469c6c23bdc5aea1b84c30524980edb0cba6ba22d5d9b23218fe7b1d9235846", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d469c6c23bdc5aea1b84c30524980edb0cba6ba22d5d9b23218fe7b1d9235846", kill_on_drop: false }` [INFO] [stdout] d469c6c23bdc5aea1b84c30524980edb0cba6ba22d5d9b23218fe7b1d9235846