[INFO] cloning repository https://github.com/Dzuvan/Snake
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dzuvan/Snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDzuvan%2FSnake", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDzuvan%2FSnake'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ba84bdbb08f8b8adce8d27581fe323f701817ff6
[INFO] testing Dzuvan/Snake against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDzuvan%2FSnake" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Dzuvan/Snake
[INFO] finished tweaking git repo https://github.com/Dzuvan/Snake
[INFO] tweaked toml for git repo https://github.com/Dzuvan/Snake written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Dzuvan/Snake on toolchain 1ef7943ee607160a564655b6596f83670ef95df5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Dzuvan/Snake 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" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Updating git repository `https://github.com/AngryLawyer/rust-sdl2`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded c_vec v1.0.12
[INFO] [stderr]   Downloaded fuchsia-zircon-sys v0.2.0
[INFO] [stderr]   Downloaded lazy_static v0.2.9
[INFO] [stderr]   Downloaded fuchsia-zircon v0.2.1
[INFO] [stderr]   Downloaded rand v0.3.17
[INFO] [stderr]   Downloaded libc v0.2.32
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 768c3790903841591e9ee83b3cbbc7684f0dc8e1d19352883d9b82f5a2d6b758
[INFO] running `Command { std: "docker" "start" "-a" "768c3790903841591e9ee83b3cbbc7684f0dc8e1d19352883d9b82f5a2d6b758", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "768c3790903841591e9ee83b3cbbc7684f0dc8e1d19352883d9b82f5a2d6b758", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "768c3790903841591e9ee83b3cbbc7684f0dc8e1d19352883d9b82f5a2d6b758", kill_on_drop: false }`
[INFO] [stdout] 768c3790903841591e9ee83b3cbbc7684f0dc8e1d19352883d9b82f5a2d6b758
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 763e437d90dc7b1df00e19fee35183d6aeae30d2e0a638562842c2e3324d2ff1
[INFO] running `Command { std: "docker" "start" "-a" "763e437d90dc7b1df00e19fee35183d6aeae30d2e0a638562842c2e3324d2ff1", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling num-traits v0.1.40
[INFO] [stderr]    Compiling sdl2-sys v0.30.0 (https://github.com/AngryLawyer/rust-sdl2#085d0679)
[INFO] [stderr]    Compiling libc v0.2.32
[INFO] [stderr]    Compiling lazy_static v0.2.9
[INFO] [stderr]    Compiling bitflags v0.7.0
[INFO] [stderr]    Compiling c_vec v1.0.12
[INFO] [stderr]    Compiling rand v0.3.17
[INFO] [stderr]    Compiling num-integer v0.1.35
[INFO] [stderr]    Compiling num-iter v0.1.34
[INFO] [stderr]    Compiling num v0.1.40
[INFO] [stderr]    Compiling sdl2 v0.30.0 (https://github.com/AngryLawyer/rust-sdl2#085d0679)
[INFO] [stderr]    Compiling snake v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `total` is never read
[INFO] [stdout]   --> src/main.rs:77:5
[INFO] [stdout]    |
[INFO] [stdout] 72 | struct Snake {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 77 |     total: usize,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Snake` has derived impls for the traits `Debug` and `Clone`, but these are 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] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/tmp/rustcLj0esu/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libsdl2-978aa952f5949f2d,librand-3ac0bd5689d6683f,libc_vec-2bdb67cf9162038e,libsdl2_sys-fff77fae379c34d7,libbitflags-ed87549ac517e209,liblazy_static-f334220e17759e36,liblibc-43cc84d394fdba25,libnum-2c5d0e0347a705d5,libnum_iter-180869240d321f90,libnum_integer-047276de7c2f8723,libnum_traits-0c0a13e99e766966}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lSDL2_ttf" "-lSDL2_image" "-lSDL2_mixer" "-lSDL2_gfx" "-lSDL2" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcLj0esu/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/snake-cfa098863bfdcbe6" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: unable to find library -lSDL2_ttf
[INFO] [stdout]           rust-lld: error: unable to find library -lSDL2_image
[INFO] [stdout]           rust-lld: error: unable to find library -lSDL2_mixer
[INFO] [stdout]           rust-lld: error: unable to find library -lSDL2_gfx
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `snake` (bin "snake") due to 1 previous error; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "763e437d90dc7b1df00e19fee35183d6aeae30d2e0a638562842c2e3324d2ff1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "763e437d90dc7b1df00e19fee35183d6aeae30d2e0a638562842c2e3324d2ff1", kill_on_drop: false }`
[INFO] [stdout] 763e437d90dc7b1df00e19fee35183d6aeae30d2e0a638562842c2e3324d2ff1
