[INFO] cloning repository https://github.com/HiggRn/nes_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HiggRn/nes_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHiggRn%2Fnes_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHiggRn%2Fnes_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bab9ca4bd2d9c07895601ca4191a62980c453bcf [INFO] checking HiggRn/nes_rust/bab9ca4bd2d9c07895601ca4191a62980c453bcf against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHiggRn%2Fnes_rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HiggRn/nes_rust on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HiggRn/nes_rust [INFO] finished tweaking git repo https://github.com/HiggRn/nes_rust [INFO] tweaked toml for git repo https://github.com/HiggRn/nes_rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/HiggRn/nes_rust 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32ab4fc3b5b883d72e1b96241299d981519628e57dcdebeebab2f5cc00a52da9 [INFO] running `Command { std: "docker" "start" "-a" "32ab4fc3b5b883d72e1b96241299d981519628e57dcdebeebab2f5cc00a52da9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32ab4fc3b5b883d72e1b96241299d981519628e57dcdebeebab2f5cc00a52da9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32ab4fc3b5b883d72e1b96241299d981519628e57dcdebeebab2f5cc00a52da9", kill_on_drop: false }` [INFO] [stdout] 32ab4fc3b5b883d72e1b96241299d981519628e57dcdebeebab2f5cc00a52da9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fdd0dcd9ceb471dd1fb575f77327d2c2116f4a9bdda8761bd2191d2946b7baa [INFO] running `Command { std: "docker" "start" "-a" "9fdd0dcd9ceb471dd1fb575f77327d2c2116f4a9bdda8761bd2191d2946b7baa", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.142 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Checking bitflags v2.2.1 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking getrandom v0.2.9 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking nes_rust v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/cartridge.rs (1 fix) [INFO] [stdout] warning: fields `chr_rom`, `mapper`, and `screen_mirroring` are never read [INFO] [stdout] --> src/cartridge.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Rom { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 2 | pub prg_rom: Vec, [INFO] [stdout] 3 | pub chr_rom: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | pub mapper: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | pub screen_mirroring: Mirroring, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load` is never used [INFO] [stdout] --> src/cpu.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 93 | impl Cpu { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn load(&mut self, program: Vec) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mnemonic` and `cycles` are never read [INFO] [stdout] --> src/opcode.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct OpCode { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 7 | pub code: u8, [INFO] [stdout] 8 | pub mnemonic: &'static str, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub len: u8, [INFO] [stdout] 10 | pub cycles: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PRG_ROM_PAGE_SIZE` in this scope [INFO] [stdout] --> src/cartridge.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | pgp_rom: vec![1; 2 * PRG_ROM_PAGE_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 60 + use crate::cartridge::PRG_ROM_PAGE_SIZE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CHR_ROM_PAGE_SIZE` in this scope [INFO] [stdout] --> src/cartridge.rs:95:30 [INFO] [stdout] | [INFO] [stdout] 95 | chr_rom: vec![2; CHR_ROM_PAGE_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 60 + use crate::cartridge::CHR_ROM_PAGE_SIZE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nes_rust` (bin "nes_rust" test) due to 18 previous errors [INFO] [stdout] error[E0425]: cannot find value `PRG_ROM_PAGE_SIZE` in this scope [INFO] [stdout] --> src/cartridge.rs:108:34 [INFO] [stdout] | [INFO] [stdout] 108 | pgp_rom: vec![1; 2 * PRG_ROM_PAGE_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 60 + use crate::cartridge::PRG_ROM_PAGE_SIZE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CHR_ROM_PAGE_SIZE` in this scope [INFO] [stdout] --> src/cartridge.rs:109:34 [INFO] [stdout] | [INFO] [stdout] 109 | chr_rom: vec![2; 1 * CHR_ROM_PAGE_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 60 + use crate::cartridge::CHR_ROM_PAGE_SIZE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rom` [INFO] [stdout] --> src/cartridge.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | let rom = Rom::new(&test_rom).unwrap(); [INFO] [stdout] | ^^^ use of undeclared type `Rom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 60 + use crate::Rom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CHR_ROM_PAGE_SIZE` in this scope [INFO] [stdout] --> src/cartridge.rs:114:45 [INFO] [stdout] | [INFO] [stdout] 114 | assert_eq!(rom.chr_rom, vec!(2; 1 * CHR_ROM_PAGE_SIZE)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 60 + use crate::cartridge::CHR_ROM_PAGE_SIZE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PRG_ROM_PAGE_SIZE` in this scope [INFO] [stdout] --> src/cartridge.rs:115:45 [INFO] [stdout] | [INFO] [stdout] 115 | assert_eq!(rom.prg_rom, vec!(1; 2 * PRG_ROM_PAGE_SIZE)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 60 + use crate::cartridge::PRG_ROM_PAGE_SIZE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mirroring` [INFO] [stdout] --> src/cartridge.rs:117:42 [INFO] [stdout] | [INFO] [stdout] 117 | assert_eq!(rom.screen_mirroring, Mirroring::Vertical); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Mirroring` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 60 + use crate::cartridge::Mirroring; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PRG_ROM_PAGE_SIZE` in this scope [INFO] [stdout] --> src/cartridge.rs:142:34 [INFO] [stdout] | [INFO] [stdout] 142 | pgp_rom: vec![1; 2 * PRG_ROM_PAGE_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 60 + use crate::cartridge::PRG_ROM_PAGE_SIZE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CHR_ROM_PAGE_SIZE` in this scope [INFO] [stdout] --> src/cartridge.rs:143:34 [INFO] [stdout] | [INFO] [stdout] 143 | chr_rom: vec![2; 1 * CHR_ROM_PAGE_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 60 + use crate::cartridge::CHR_ROM_PAGE_SIZE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rom` [INFO] [stdout] --> src/cartridge.rs:146:19 [INFO] [stdout] | [INFO] [stdout] 146 | let rom = Rom::new(&test_rom).unwrap(); [INFO] [stdout] | ^^^ use of undeclared type `Rom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 60 + use crate::Rom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CHR_ROM_PAGE_SIZE` in this scope [INFO] [stdout] --> src/cartridge.rs:148:45 [INFO] [stdout] | [INFO] [stdout] 148 | assert_eq!(rom.chr_rom, vec!(2; 1 * CHR_ROM_PAGE_SIZE)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 60 + use crate::cartridge::CHR_ROM_PAGE_SIZE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PRG_ROM_PAGE_SIZE` in this scope [INFO] [stdout] --> src/cartridge.rs:149:45 [INFO] [stdout] | [INFO] [stdout] 149 | assert_eq!(rom.prg_rom, vec!(1; 2 * PRG_ROM_PAGE_SIZE)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 60 + use crate::cartridge::PRG_ROM_PAGE_SIZE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mirroring` [INFO] [stdout] --> src/cartridge.rs:151:42 [INFO] [stdout] | [INFO] [stdout] 151 | assert_eq!(rom.screen_mirroring, Mirroring::Vertical); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Mirroring` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 60 + use crate::cartridge::Mirroring; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PRG_ROM_PAGE_SIZE` in this scope [INFO] [stdout] --> src/cartridge.rs:161:34 [INFO] [stdout] | [INFO] [stdout] 161 | pgp_rom: vec![1; 1 * PRG_ROM_PAGE_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 60 + use crate::cartridge::PRG_ROM_PAGE_SIZE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `CHR_ROM_PAGE_SIZE` in this scope [INFO] [stdout] --> src/cartridge.rs:162:34 [INFO] [stdout] | [INFO] [stdout] 162 | chr_rom: vec![2; 1 * CHR_ROM_PAGE_SIZE], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 60 + use crate::cartridge::CHR_ROM_PAGE_SIZE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rom` [INFO] [stdout] --> src/cartridge.rs:164:19 [INFO] [stdout] | [INFO] [stdout] 164 | let rom = Rom::new(&test_rom); [INFO] [stdout] | ^^^ use of undeclared type `Rom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 60 + use crate::Rom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [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" "9fdd0dcd9ceb471dd1fb575f77327d2c2116f4a9bdda8761bd2191d2946b7baa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fdd0dcd9ceb471dd1fb575f77327d2c2116f4a9bdda8761bd2191d2946b7baa", kill_on_drop: false }` [INFO] [stdout] 9fdd0dcd9ceb471dd1fb575f77327d2c2116f4a9bdda8761bd2191d2946b7baa