[INFO] cloning repository https://github.com/Mureke/rChip8 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mureke/rChip8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMureke%2FrChip8", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMureke%2FrChip8'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c98e395f8512d3c73ff11b18336706e1db96c97e [INFO] checking Mureke/rChip8 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMureke%2FrChip8" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mureke/rChip8 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/Mureke/rChip8 [INFO] finished tweaking git repo https://github.com/Mureke/rChip8 [INFO] tweaked toml for git repo https://github.com/Mureke/rChip8 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/Mureke/rChip8 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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] c9cae2830425000af53e0b1ad98c3eee48cd181bca2e51e808607fd4a7da0b3f [INFO] running `Command { std: "docker" "start" "-a" "c9cae2830425000af53e0b1ad98c3eee48cd181bca2e51e808607fd4a7da0b3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9cae2830425000af53e0b1ad98c3eee48cd181bca2e51e808607fd4a7da0b3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9cae2830425000af53e0b1ad98c3eee48cd181bca2e51e808607fd4a7da0b3f", kill_on_drop: false }` [INFO] [stdout] c9cae2830425000af53e0b1ad98c3eee48cd181bca2e51e808607fd4a7da0b3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 1c34bf713cc413dbc058403563f2c9d1aa0c58e9cc9863867b6f9f2acd5d443c [INFO] running `Command { std: "docker" "start" "-a" "1c34bf713cc413dbc058403563f2c9d1aa0c58e9cc9863867b6f9f2acd5d443c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling sdl2-sys v0.30.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking sdl2 v0.30.0 [INFO] [stderr] Checking r_chip8 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/utils/event.rs (3 fixes) [INFO] [stderr] Fixed src/cpu.rs (8 fixes) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/utils/event.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | / /// Method for collecting key events and watching quit events. [INFO] [stdout] 21 | | /// Created mostly using this document: https://rust-sdl2.github.io/rust-sdl2/sdl2/keyboard/struct.KeyboardState.html [INFO] [stdout] 22 | | /// [INFO] [stdout] 23 | | /// Returns: [INFO] [stdout] ... | [INFO] [stdout] 30 | | /// // Do something [INFO] [stdout] 31 | | /// } [INFO] [stdout] | |______________^ [INFO] [stdout] ... [INFO] [stdout] 35 | / for event in self.events.poll_iter() { [INFO] [stdout] 36 | | match event { [INFO] [stdout] 37 | | Event::Quit { .. } | [INFO] [stdout] 38 | | Event::KeyDown { keycode: Some(Keycode::Escape), .. } => { [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] 43 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/utils/event.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | / /// Method for collecting key events and watching quit events. [INFO] [stdout] 21 | | /// Created mostly using this document: https://rust-sdl2.github.io/rust-sdl2/sdl2/keyboard/struct.KeyboardState.html [INFO] [stdout] 22 | | /// [INFO] [stdout] 23 | | /// Returns: [INFO] [stdout] ... | [INFO] [stdout] 30 | | /// // Do something [INFO] [stdout] 31 | | /// } [INFO] [stdout] | |______________^ [INFO] [stdout] ... [INFO] [stdout] 35 | / for event in self.events.poll_iter() { [INFO] [stdout] 36 | | match event { [INFO] [stdout] 37 | | Event::Quit { .. } | [INFO] [stdout] 38 | | Event::KeyDown { keycode: Some(Keycode::Escape), .. } => { [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] 43 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/utils/audio.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | 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/utils/audio.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | 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] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/./cpu_tests.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | cpu.cycle(); [INFO] [stdout] | ^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/cpu.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn cycle(&mut self, keys: [bool;16]) -> CycleState { [INFO] [stdout] | ^^^^^ --------- --------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/./cpu_tests.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | cpu.cycle(); [INFO] [stdout] | ^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/cpu.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn cycle(&mut self, keys: [bool;16]) -> CycleState { [INFO] [stdout] | ^^^^^ --------- --------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/./cpu_tests.rs:358:9 [INFO] [stdout] | [INFO] [stdout] 358 | cpu.cycle(); [INFO] [stdout] | ^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/cpu.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn cycle(&mut self, keys: [bool;16]) -> CycleState { [INFO] [stdout] | ^^^^^ --------- --------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `display_tester` [INFO] [stdout] --> src/utils/display.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn display_tester(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `size` [INFO] [stdout] --> src/utils/rom_reader.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | size: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `r_chip8` due to 4 previous errors; 1 warning emitted [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "1c34bf713cc413dbc058403563f2c9d1aa0c58e9cc9863867b6f9f2acd5d443c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c34bf713cc413dbc058403563f2c9d1aa0c58e9cc9863867b6f9f2acd5d443c", kill_on_drop: false }` [INFO] [stdout] 1c34bf713cc413dbc058403563f2c9d1aa0c58e9cc9863867b6f9f2acd5d443c