[INFO] cloning repository https://github.com/horup/sdl2test-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/horup/sdl2test-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhorup%2Fsdl2test-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhorup%2Fsdl2test-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b45b157680e0f497314f33af19b75d94f3361628
[INFO] testing horup/sdl2test-rs against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhorup%2Fsdl2test-rs" "/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/horup/sdl2test-rs
[INFO] finished tweaking git repo https://github.com/horup/sdl2test-rs
[INFO] tweaked toml for git repo https://github.com/horup/sdl2test-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/horup/sdl2test-rs on toolchain 1.99.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/horup/sdl2test-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" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2f60b2d60883845214578bf0724452608796dc1ea0fb467f9902b2cb21bf21a0
[INFO] running `Command { std: "docker" "start" "2f60b2d60883845214578bf0724452608796dc1ea0fb467f9902b2cb21bf21a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2f60b2d60883845214578bf0724452608796dc1ea0fb467f9902b2cb21bf21a0", 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" "2f60b2d60883845214578bf0724452608796dc1ea0fb467f9902b2cb21bf21a0" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2f60b2d60883845214578bf0724452608796dc1ea0fb467f9902b2cb21bf21a0", 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" "2f60b2d60883845214578bf0724452608796dc1ea0fb467f9902b2cb21bf21a0" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.79
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling version-compare v0.0.10
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.9
[INFO] [stderr]    Compiling proc-macro-hack v0.5.18
[INFO] [stderr]    Compiling sdl2 v0.34.3
[INFO] [stderr]    Compiling matrixmultiply v0.2.3
[INFO] [stderr]    Compiling sdl2-sys v0.34.3
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-complex v0.2.4
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling paste-impl v0.1.18
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling paste v0.1.18
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling generic-array v0.13.2
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling simba v0.2.1
[INFO] [stderr]    Compiling rand_distr v0.2.2
[INFO] [stderr]    Compiling nalgebra v0.22.1
[INFO] [stderr]    Compiling sdltest v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `env`
[INFO] [stdout]  --> src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{env, time::Instant};
[INFO] [stdout]   |           ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `InitFlag` and `rect::Rect`
[INFO] [stdout]  --> src/main.rs:2:33
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sdl2::{image::{LoadTexture, InitFlag}, rect::Rect};
[INFO] [stdout]   |                                 ^^^^^^^^   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::event::Event`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sdl2::event::Event;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::keyboard::Keycode`
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sdl2::keyboard::Keycode;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `render::TextureCreator` and `video::WindowContext`
[INFO] [stdout]  --> src/backends/sdl2backend.rs:2:114
[INFO] [stdout]   |
[INFO] [stdout] 2 | ...ycode, rect::Rect, render::Canvas, render::TextureCreator, video::Window, video::WindowContext};
[INFO] [stdout]   |                                       ^^^^^^^^^^^^^^^^^^^^^^                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `LoadTexture`
[INFO] [stdout]  --> src/main.rs:2:20
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sdl2::{image::{LoadTexture, InitFlag}, rect::Rect};
[INFO] [stdout]   |                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `surface_index`
[INFO] [stdout]   --> src/backends/sdl2backend.rs:53:75
[INFO] [stdout]    |
[INFO] [stdout] 53 |     fn draw_sprites(&mut self, sprites:&[b::Sprite], texture_index:usize, surface_index:usize) {
[INFO] [stdout]    |                                                                           ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface_index`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sheet_texture`
[INFO] [stdout]   --> src/main.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let sheet_texture = backend.load_texture(sheet_img, 16.0, 16.0, 0);
[INFO] [stdout]    |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sheet_texture`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]   --> src/backend.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Texture
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 19 | {
[INFO] [stdout] 20 |     pub id:usize,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Texture` has derived impls for the traits `Clone` and `Debug`, 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] warning: trait `Canvas` is never used
[INFO] [stdout]  --> src/backends/mod.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait Canvas
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `video_subsystem` is never read
[INFO] [stdout]  --> src/backends/sdl2backend.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct SDL2Backend
[INFO] [stdout]   |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 9 |     pub video_subsystem:VideoSubsystem,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "/opt/rustwide/target/release/deps/rustcGPEyvb/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/release/deps/{libsdl2-cb959ea4a59efc7e,libsdl2_sys-dd43bc1acedd7873,libbitflags-a7685ea2c2c46ab3,liblazy_static-480433dca0d17907,liblibc-b983f629863909fa}.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" "-lSDL2_image" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/release/deps/rustcGPEyvb/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/release/deps/sdltest-fcd03eb22571f000" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-debug" "-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_image
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sdltest` (bin "sdltest") due to 1 previous error; 11 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2f60b2d60883845214578bf0724452608796dc1ea0fb467f9902b2cb21bf21a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f60b2d60883845214578bf0724452608796dc1ea0fb467f9902b2cb21bf21a0", kill_on_drop: false }`
[INFO] [stdout] 2f60b2d60883845214578bf0724452608796dc1ea0fb467f9902b2cb21bf21a0
