[INFO] cloning repository https://github.com/pizzalawl/chip8 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pizzalawl/chip8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpizzalawl%2Fchip8", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpizzalawl%2Fchip8'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5e811180ca8859e0f765f38458c7adb5bfb1281 [INFO] checking pizzalawl/chip8 against try#ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 for pr-145108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpizzalawl%2Fchip8" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pizzalawl/chip8 [INFO] finished tweaking git repo https://github.com/pizzalawl/chip8 [INFO] tweaked toml for git repo https://github.com/pizzalawl/chip8 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pizzalawl/chip8 on toolchain ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pizzalawl/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" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking pizzalawl/chip8 against try#ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 for pr-145108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpizzalawl%2Fchip8" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pizzalawl/chip8 [INFO] finished tweaking git repo https://github.com/pizzalawl/chip8 [INFO] tweaked toml for git repo https://github.com/pizzalawl/chip8 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pizzalawl/chip8 on toolchain ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pizzalawl/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" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f596e47b9eaf2e49d7b8dd8eae9e1cd2e78695f452bbce946e7770f87a5add4 [INFO] running `Command { std: "docker" "start" "-a" "6f596e47b9eaf2e49d7b8dd8eae9e1cd2e78695f452bbce946e7770f87a5add4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f596e47b9eaf2e49d7b8dd8eae9e1cd2e78695f452bbce946e7770f87a5add4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f596e47b9eaf2e49d7b8dd8eae9e1cd2e78695f452bbce946e7770f87a5add4", kill_on_drop: false }` [INFO] [stdout] 6f596e47b9eaf2e49d7b8dd8eae9e1cd2e78695f452bbce946e7770f87a5add4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] baf58079371eb3006d84291b8701fb1696c09434f8957c50d9811cd065afd461 [INFO] running `Command { std: "docker" "start" "-a" "baf58079371eb3006d84291b8701fb1696c09434f8957c50d9811cd065afd461", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling prettyplease v0.2.36 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling raylib-sys v5.5.1 [INFO] [stderr] Checking raylib v5.5.1 [INFO] [stderr] Checking chip8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0515]: cannot return value referencing local variable `audio_device` [INFO] [stdout] --> src/audio.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | let beep: Sound<'_> = audio_device.new_sound(filename).expect("Failed to load beep sound."); [INFO] [stdout] | ------------ `audio_device` is borrowed here [INFO] [stdout] 13 | [INFO] [stdout] 14 | Self { audio_device, beep} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local variable `audio_device` [INFO] [stdout] --> src/audio.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | let beep: Sound<'_> = audio_device.new_sound(filename).expect("Failed to load beep sound."); [INFO] [stdout] | ------------ `audio_device` is borrowed here [INFO] [stdout] 13 | [INFO] [stdout] 14 | Self { audio_device, beep} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `audio_device` because it is borrowed [INFO] [stdout] --> src/audio.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 8 | impl <'a>Audio<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] 10 | let audio_device = RaylibAudio::init_audio_device().expect("Failed to initialize sound driver."); [INFO] [stdout] | ------------ binding `audio_device` declared here [INFO] [stdout] 11 | let filename = "beep.wav"; [INFO] [stdout] 12 | let beep: Sound<'_> = audio_device.new_sound(filename).expect("Failed to load beep sound."); [INFO] [stdout] | ------------ borrow of `audio_device` occurs here [INFO] [stdout] 13 | [INFO] [stdout] 14 | Self { audio_device, beep} [INFO] [stdout] | -------^^^^^^^^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | move out of `audio_device` occurs here [INFO] [stdout] | returning this value requires that `audio_device` is borrowed for `'a` [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 12 | let beep: Sound<'_> = audio_device.clone().new_sound(filename).expect("Failed to load beep sound."); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `audio_device` because it is borrowed [INFO] [stdout] --> src/audio.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 8 | impl <'a>Audio<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] 9 | pub fn new() -> Self { [INFO] [stdout] 10 | let audio_device = RaylibAudio::init_audio_device().expect("Failed to initialize sound driver."); [INFO] [stdout] | ------------ binding `audio_device` declared here [INFO] [stdout] 11 | let filename = "beep.wav"; [INFO] [stdout] 12 | let beep: Sound<'_> = audio_device.new_sound(filename).expect("Failed to load beep sound."); [INFO] [stdout] | ------------ borrow of `audio_device` occurs here [INFO] [stdout] 13 | [INFO] [stdout] 14 | Self { audio_device, beep} [INFO] [stdout] | -------^^^^^^^^^^^^------- [INFO] [stdout] | | | [INFO] [stdout] | | move out of `audio_device` occurs here [INFO] [stdout] | returning this value requires that `audio_device` is borrowed for `'a` [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 12 | let beep: Sound<'_> = audio_device.clone().new_sound(filename).expect("Failed to load beep sound."); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0515. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0515. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chip8` (bin "chip8") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `chip8` (bin "chip8" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "baf58079371eb3006d84291b8701fb1696c09434f8957c50d9811cd065afd461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "baf58079371eb3006d84291b8701fb1696c09434f8957c50d9811cd065afd461", kill_on_drop: false }` [INFO] [stdout] baf58079371eb3006d84291b8701fb1696c09434f8957c50d9811cd065afd461