[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] testing pizzalawl/chip8 against 1.99.0-beta.8 for beta-1.100-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpizzalawl%2Fchip8" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pizzalawl/chip8 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded prettyplease v0.2.36
[INFO] [stderr]   Downloaded raylib v5.5.1
[INFO] [stderr]   Downloaded cc v1.2.32
[INFO] [stderr]   Downloaded raylib-sys v5.5.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e3b81ab98d602f28b6d4896f2e9fcc577d313da6f48447ddceecc0c24ecdc00b
[INFO] running `Command { std: "docker" "start" "e3b81ab98d602f28b6d4896f2e9fcc577d313da6f48447ddceecc0c24ecdc00b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e3b81ab98d602f28b6d4896f2e9fcc577d313da6f48447ddceecc0c24ecdc00b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e3b81ab98d602f28b6d4896f2e9fcc577d313da6f48447ddceecc0c24ecdc00b" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e3b81ab98d602f28b6d4896f2e9fcc577d313da6f48447ddceecc0c24ecdc00b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e3b81ab98d602f28b6d4896f2e9fcc577d313da6f48447ddceecc0c24ecdc00b" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", 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 memchr v2.7.5
[INFO] [stderr]    Compiling libloading v0.8.8
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling bindgen v0.70.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling cc v1.2.32
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling seq-macro v0.3.6
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling cmake v0.1.54
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling 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]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling raylib-sys v5.5.1
[INFO] [stderr]    Compiling raylib v5.5.1
[INFO] [stderr]    Compiling 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[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] [stderr] error: could not compile `chip8` (bin "chip8") due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "e3b81ab98d602f28b6d4896f2e9fcc577d313da6f48447ddceecc0c24ecdc00b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e3b81ab98d602f28b6d4896f2e9fcc577d313da6f48447ddceecc0c24ecdc00b", kill_on_drop: false }`
[INFO] [stdout] e3b81ab98d602f28b6d4896f2e9fcc577d313da6f48447ddceecc0c24ecdc00b
