[INFO] cloning repository https://github.com/Vincent11276/Snake-Game
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Vincent11276/Snake-Game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVincent11276%2FSnake-Game", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVincent11276%2FSnake-Game'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5bb7aa46291d9f9df3022d570f4214c08b6c09d4
[INFO] testing Vincent11276/Snake-Game against beta-2023-04-20 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVincent11276%2FSnake-Game" "/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/Vincent11276/Snake-Game on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Vincent11276/Snake-Game
[INFO] finished tweaking git repo https://github.com/Vincent11276/Snake-Game
[INFO] tweaked toml for git repo https://github.com/Vincent11276/Snake-Game written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Vincent11276/Snake-Game 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" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded csfml-system-sys v0.6.0
[INFO] [stderr]   Downloaded csfml-window-sys v0.6.0
[INFO] [stderr]   Downloaded csfml-audio-sys v0.6.0
[INFO] [stderr]   Downloaded csfml-graphics-sys v0.6.0
[INFO] [stderr]   Downloaded sfml-build v0.4.0
[INFO] [stderr]   Downloaded sfml v0.16.0
[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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a6b8daa70c6a660baa83b5d24a0318e3bd71b51df06f61c038cbbb31262e38e4
[INFO] running `Command { std: "docker" "start" "-a" "a6b8daa70c6a660baa83b5d24a0318e3bd71b51df06f61c038cbbb31262e38e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a6b8daa70c6a660baa83b5d24a0318e3bd71b51df06f61c038cbbb31262e38e4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a6b8daa70c6a660baa83b5d24a0318e3bd71b51df06f61c038cbbb31262e38e4", kill_on_drop: false }`
[INFO] [stdout] a6b8daa70c6a660baa83b5d24a0318e3bd71b51df06f61c038cbbb31262e38e4
[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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ed8c1d4fe94a4c1717259cf4e0ad4d13b1003d7449481e211fbdd82e2dcdcb46
[INFO] running `Command { std: "docker" "start" "-a" "ed8c1d4fe94a4c1717259cf4e0ad4d13b1003d7449481e211fbdd82e2dcdcb46", kill_on_drop: false }`
[INFO] [stderr]    Compiling sfml-build v0.4.0
[INFO] [stderr]    Compiling libc v0.2.119
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling once_cell v1.10.0
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling widestring v0.4.3
[INFO] [stderr]    Compiling csfml-system-sys v0.6.0
[INFO] [stderr]    Compiling csfml-window-sys v0.6.0
[INFO] [stderr]    Compiling csfml-audio-sys v0.6.0
[INFO] [stderr]    Compiling csfml-graphics-sys v0.6.0
[INFO] [stderr]    Compiling sfml v0.16.0
[INFO] [stderr]    Compiling getrandom v0.2.5
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling snake_game v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `tilemap_tex`
[INFO] [stdout]    --> src/main.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let tilemap_tex = Texture::from_file(path);
[INFO] [stdout]     |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tilemap_tex`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: lifetime may not live long enough
[INFO] [stdout]    --> src/main.rs:174:9
[INFO] [stdout]     |
[INFO] [stdout] 169 |     fn draw<'a: 'shader, 'texture, 'shader, 'shader_texture>(
[INFO] [stdout]     |             --           -------- lifetime `'texture` defined here
[INFO] [stdout]     |             |
[INFO] [stdout]     |             lifetime `'a` defined here
[INFO] [stdout] ...
[INFO] [stdout] 174 |         states.set_texture(Some(&*self.tilemap_tex));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ argument requires that `'a` must outlive `'texture`
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding the following bound: `'a: 'texture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `*states` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/main.rs:174:9
[INFO] [stdout]     |
[INFO] [stdout] 174 |         states.set_texture(Some(&*self.tilemap_tex));
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `states` is a `&` reference, so the data it refers to cannot be borrowed as mutable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `snake_game` (bin "snake_game") due to 3 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "ed8c1d4fe94a4c1717259cf4e0ad4d13b1003d7449481e211fbdd82e2dcdcb46", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed8c1d4fe94a4c1717259cf4e0ad4d13b1003d7449481e211fbdd82e2dcdcb46", kill_on_drop: false }`
[INFO] [stdout] ed8c1d4fe94a4c1717259cf4e0ad4d13b1003d7449481e211fbdd82e2dcdcb46
