[INFO] cloning repository https://github.com/soothteng/tinyNES-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/soothteng/tinyNES-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoothteng%2FtinyNES-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoothteng%2FtinyNES-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4e8e3143b0ae9ca36fc1b9866b4a6a78ad361a84 [INFO] checking soothteng/tinyNES-rust against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoothteng%2FtinyNES-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/soothteng/tinyNES-rust on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/soothteng/tinyNES-rust [INFO] finished tweaking git repo https://github.com/soothteng/tinyNES-rust [INFO] tweaked toml for git repo https://github.com/soothteng/tinyNES-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/soothteng/tinyNES-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking soothteng/tinyNES-rust against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoothteng%2FtinyNES-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/soothteng/tinyNES-rust on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/soothteng/tinyNES-rust [INFO] finished tweaking git repo https://github.com/soothteng/tinyNES-rust [INFO] tweaked toml for git repo https://github.com/soothteng/tinyNES-rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/soothteng/tinyNES-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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8087ff17532b7e77260174a253f5f7a7598c52cd696a6953256c920b6d1585ea [INFO] running `Command { std: "docker" "start" "-a" "8087ff17532b7e77260174a253f5f7a7598c52cd696a6953256c920b6d1585ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8087ff17532b7e77260174a253f5f7a7598c52cd696a6953256c920b6d1585ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8087ff17532b7e77260174a253f5f7a7598c52cd696a6953256c920b6d1585ea", kill_on_drop: false }` [INFO] [stdout] 8087ff17532b7e77260174a253f5f7a7598c52cd696a6953256c920b6d1585ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3e67258ab3bfa8baeb802f480b4be9414fa4c9e1cb2e1aceb6a03ddb953792a [INFO] running `Command { std: "docker" "start" "-a" "d3e67258ab3bfa8baeb802f480b4be9414fa4c9e1cb2e1aceb6a03ddb953792a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.129 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tiny_nes v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument [INFO] [stdout] --> src/cpu.rs:1220:19 [INFO] [stdout] | [INFO] [stdout] 1220 | let bus = Bus::new(test::test_rom(), |ppu: &NesPPU| {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | takes 1 argument [INFO] [stdout] | expected closure that takes 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument [INFO] [stdout] --> src/cpu.rs:1230:19 [INFO] [stdout] | [INFO] [stdout] 1230 | let bus = Bus::new(test::test_rom(), |ppu: &NesPPU| {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | takes 1 argument [INFO] [stdout] | expected closure that takes 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument [INFO] [stdout] --> src/cpu.rs:1240:19 [INFO] [stdout] | [INFO] [stdout] 1240 | let bus = Bus::new(test::test_rom(), |ppu: &NesPPU| {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | takes 1 argument [INFO] [stdout] | expected closure that takes 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument [INFO] [stdout] --> src/cpu.rs:1249:19 [INFO] [stdout] | [INFO] [stdout] 1249 | let bus = Bus::new(test::test_rom(), |ppu: &NesPPU| {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | takes 1 argument [INFO] [stdout] | expected closure that takes 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument [INFO] [stdout] --> src/cpu.rs:1259:19 [INFO] [stdout] | [INFO] [stdout] 1259 | let bus = Bus::new(test::test_rom(), |ppu: &NesPPU| {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | takes 1 argument [INFO] [stdout] | expected closure that takes 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument [INFO] [stdout] --> src/trace.rs:154:23 [INFO] [stdout] | [INFO] [stdout] 154 | let mut bus = Bus::new(test_rom(), |ppu: &NesPPU| {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^--------------^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | takes 1 argument [INFO] [stdout] | expected closure that takes 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument [INFO] [stdout] --> src/trace.rs:186:23 [INFO] [stdout] | [INFO] [stdout] 186 | let mut bus = Bus::new(test_rom(), |ppu: &NesPPU| {}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^--------------^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | takes 1 argument [INFO] [stdout] | expected closure that takes 2 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of a mutable reference [INFO] [stdout] --> src/bus.rs:212:65 [INFO] [stdout] | [INFO] [stdout] 212 | let mut bus = Bus::new(test::test_rom(), |ppu: &NesPPU, &mut Joypad| {}); [INFO] [stdout] | ^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | data moved here [INFO] [stdout] | move occurs because `Joypad` has type `joypad::Joypad`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider removing the mutable borrow [INFO] [stdout] | [INFO] [stdout] 212 - let mut bus = Bus::new(test::test_rom(), |ppu: &NesPPU, &mut Joypad| {}); [INFO] [stdout] 212 + let mut bus = Bus::new(test::test_rom(), |ppu: &NesPPU, Joypad| {}); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0507, E0593. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tiny_nes` (bin "tiny_nes" test) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "d3e67258ab3bfa8baeb802f480b4be9414fa4c9e1cb2e1aceb6a03ddb953792a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3e67258ab3bfa8baeb802f480b4be9414fa4c9e1cb2e1aceb6a03ddb953792a", kill_on_drop: false }` [INFO] [stdout] d3e67258ab3bfa8baeb802f480b4be9414fa4c9e1cb2e1aceb6a03ddb953792a