[INFO] cloning repository https://github.com/denizxaytac/ya_raycaster [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/denizxaytac/ya_raycaster" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenizxaytac%2Fya_raycaster", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenizxaytac%2Fya_raycaster'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1fd71cbc5bc568495a22e8512a0424bedc082469 [INFO] testing denizxaytac/ya_raycaster against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenizxaytac%2Fya_raycaster" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/denizxaytac/ya_raycaster [INFO] finished tweaking git repo https://github.com/denizxaytac/ya_raycaster [INFO] tweaked toml for git repo https://github.com/denizxaytac/ya_raycaster written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/denizxaytac/ya_raycaster on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/denizxaytac/ya_raycaster 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c3dea49611ca1c3caa950532b522e15a6dcc307d8f4d5e4bccfb96b6f2247fa [INFO] running `Command { std: "docker" "start" "-a" "1c3dea49611ca1c3caa950532b522e15a6dcc307d8f4d5e4bccfb96b6f2247fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c3dea49611ca1c3caa950532b522e15a6dcc307d8f4d5e4bccfb96b6f2247fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c3dea49611ca1c3caa950532b522e15a6dcc307d8f4d5e4bccfb96b6f2247fa", kill_on_drop: false }` [INFO] [stdout] 1c3dea49611ca1c3caa950532b522e15a6dcc307d8f4d5e4bccfb96b6f2247fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22506be698346ab1e20d547f057e80fbc718d94148ce1078a1d2caebc992fae4 [INFO] running `Command { std: "docker" "start" "-a" "22506be698346ab1e20d547f057e80fbc718d94148ce1078a1d2caebc992fae4", kill_on_drop: false }` [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling soloud-sys v1.0.2 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling soloud v1.0.2 [INFO] [stderr] Compiling ya_raycaster v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `level_counter` [INFO] [stdout] --> src/lib.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | let level_counter = 2 - idx; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_level_counter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wall_textures` [INFO] [stdout] --> src/lib.rs:158:59 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn draw_rays(canvas: &mut Canvas, game: Game, wall_textures: &mut[Texture; 4], floor_textures: &mut[Texture; 1]){ [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wall_textures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `floor_textures` [INFO] [stdout] --> src/lib.rs:158:92 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn draw_rays(canvas: &mut Canvas, game: Game, wall_textures: &mut[Texture; 4], floor_textures: &mut[Texture; 1]){ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_floor_textures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | let mut line_start: i32 = (-line_height / 2) + (WINDOW_HEIGHT / 2) as i32; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `canvas` [INFO] [stdout] --> src/lib.rs:226:34 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn get_rays(game: &mut Game, canvas: &mut Canvas){ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_canvas` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustc689OJa/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libsoloud-eff117095fb2cdc7,libsoloud_sys-bb29a8a00295b1f6,libya_raycaster-06eb730b107171fa,libsdl2-afd13ef320a1867a,libsdl2_sys-561d282924d8cf5b,libbitflags-e2b4db6c651223da,liblazy_static-2bb390fee0230a38,liblibc-27db70a4374c972e}.rlib" "/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" "/tmp/rustc689OJa/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/soloud-sys-4866bca845ab7849/out/build" "-L" "/opt/rustwide/target/debug/build/soloud-sys-4866bca845ab7849/out/lib" "-L" "/opt/rustwide/target/debug/build/soloud-sys-4866bca845ab7849/out/lib/Release" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/ya_raycaster-b3cfe80a879fd739" "-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_image [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ya_raycaster` (bin "ya_raycaster") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "22506be698346ab1e20d547f057e80fbc718d94148ce1078a1d2caebc992fae4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22506be698346ab1e20d547f057e80fbc718d94148ce1078a1d2caebc992fae4", kill_on_drop: false }` [INFO] [stdout] 22506be698346ab1e20d547f057e80fbc718d94148ce1078a1d2caebc992fae4