[INFO] cloning repository https://github.com/kanjie128/snake-sdl-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kanjie128/snake-sdl-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanjie128%2Fsnake-sdl-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanjie128%2Fsnake-sdl-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 56b753e0547da8c96cee9ac88caa6c1e7cf4dd90
[INFO] checking kanjie128/snake-sdl-rs against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkanjie128%2Fsnake-sdl-rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kanjie128/snake-sdl-rs
[INFO] finished tweaking git repo https://github.com/kanjie128/snake-sdl-rs
[INFO] tweaked toml for git repo https://github.com/kanjie128/snake-sdl-rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kanjie128/snake-sdl-rs on toolchain b1f2594eac607c1f051534800237eeedb5590a49
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kanjie128/snake-sdl-rs 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 59d54eb029936d0a57c9bcfad1b42416784cc30493eed39c0ef835ca47bf1270
[INFO] running `Command { std: "docker" "start" "-a" "59d54eb029936d0a57c9bcfad1b42416784cc30493eed39c0ef835ca47bf1270", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "59d54eb029936d0a57c9bcfad1b42416784cc30493eed39c0ef835ca47bf1270", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "59d54eb029936d0a57c9bcfad1b42416784cc30493eed39c0ef835ca47bf1270", kill_on_drop: false }`
[INFO] [stdout] 59d54eb029936d0a57c9bcfad1b42416784cc30493eed39c0ef835ca47bf1270
[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=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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ca621df2989496d85c2a2dde9413b398cb67b684fc195761fc91a48dd53fdb27
[INFO] running `Command { std: "docker" "start" "-a" "ca621df2989496d85c2a2dde9413b398cb67b684fc195761fc91a48dd53fdb27", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.125
[INFO] [stderr]    Compiling sdl2 v0.35.2
[INFO] [stderr]     Checking sdl2-sys v0.35.2
[INFO] [stderr]     Checking snake-sdl v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `Pause` is never constructed
[INFO] [stdout]   --> src/snake.rs:80:5
[INFO] [stdout]    |
[INFO] [stdout] 78 | enum SnakeStatus {
[INFO] [stdout]    |      ----------- variant in this enum
[INFO] [stdout] 79 |     Running,
[INFO] [stdout] 80 |     Pause,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SnakeStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/sdl.rs:16:27
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let canvas = unsafe { CANVAS.as_mut().expect("canvas need init first") };
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/sdl.rs:24:27
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let canvas = unsafe { CANVAS.as_mut().expect("canvas need init first") };
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/sdl.rs:46:31
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let event_pump = unsafe { EVENT_PUMP.as_mut().unwrap() };
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/sdl.rs:80:27
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let canvas = unsafe { CANVAS.as_mut().unwrap() };
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/sdl.rs:81:29
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let mut font = unsafe { TTF_CONTEXT.as_ref().unwrap().load_font(font_path, 64)? };
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Pause` is never constructed
[INFO] [stdout]   --> src/snake.rs:80:5
[INFO] [stdout]    |
[INFO] [stdout] 78 | enum SnakeStatus {
[INFO] [stdout]    |      ----------- variant in this enum
[INFO] [stdout] 79 |     Running,
[INFO] [stdout] 80 |     Pause,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SnakeStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/sdl.rs:16:27
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let canvas = unsafe { CANVAS.as_mut().expect("canvas need init first") };
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/sdl.rs:24:27
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let canvas = unsafe { CANVAS.as_mut().expect("canvas need init first") };
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/sdl.rs:46:31
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let event_pump = unsafe { EVENT_PUMP.as_mut().unwrap() };
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/sdl.rs:80:27
[INFO] [stdout]    |
[INFO] [stdout] 80 |     let canvas = unsafe { CANVAS.as_mut().unwrap() };
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/sdl.rs:81:29
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let mut font = unsafe { TTF_CONTEXT.as_ref().unwrap().load_font(font_path, 64)? };
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.13s
[INFO] running `Command { std: "docker" "inspect" "ca621df2989496d85c2a2dde9413b398cb67b684fc195761fc91a48dd53fdb27", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ca621df2989496d85c2a2dde9413b398cb67b684fc195761fc91a48dd53fdb27", kill_on_drop: false }`
[INFO] [stdout] ca621df2989496d85c2a2dde9413b398cb67b684fc195761fc91a48dd53fdb27
