[INFO] cloning repository YukenK/infinity [INFO] running `"git" "clone" "--bare" "git://github.com/YukenK/infinity.git" "work/cache/sources/gh/YukenK/infinity"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/YukenK/infinity'... [INFO] running `"git" "clone" "work/cache/sources/gh/YukenK/infinity" "work/ex/beta-1.37-6/sources/1.36.0/gh/YukenK/infinity"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/YukenK/infinity'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/YukenK/infinity" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/YukenK/infinity"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/YukenK/infinity'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 12dfacbf7d7258f473d2e9b72beb18d8b2396fdb [INFO] sha for GitHub repo YukenK/infinity: 12dfacbf7d7258f473d2e9b72beb18d8b2396fdb [INFO] validating manifest of YukenK/infinity on toolchain 1.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of YukenK/infinity on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing YukenK/infinity [INFO] finished frobbing YukenK/infinity [INFO] frobbed toml for YukenK/infinity written to work/ex/beta-1.37-6/sources/1.36.0/gh/YukenK/infinity/Cargo.toml [INFO] started frobbing YukenK/infinity [INFO] finished frobbing YukenK/infinity [INFO] frobbed toml for YukenK/infinity written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/YukenK/infinity/Cargo.toml [INFO] crate YukenK/infinity already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] testing YukenK/infinity against 1.36.0 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-6/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/YukenK/infinity:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.36.0" "build" "--frozen"` [INFO] [stdout] e821a060451bb5a65948450f17f4cea36677d525d218cbf6a9c6fbaaeeeaf875 [INFO] running `"docker" "start" "-a" "e821a060451bb5a65948450f17f4cea36677d525d218cbf6a9c6fbaaeeeaf875"` [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.94 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling infinity v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused import: `sdl2::rect::Rect` [INFO] [stderr] --> src/mob.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use sdl2::rect::Rect; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::texture::Renderable` [INFO] [stderr] --> src/mob.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::texture::Renderable; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::mob` [INFO] [stderr] --> src/player.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::mob; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::vec::Vec` [INFO] [stderr] --> src/instance.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::vec::Vec; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/instance.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::mob::Mob` [INFO] [stderr] --> src/instance.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::mob::Mob; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::mob::Movable` [INFO] [stderr] --> src/instance.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::mob::Movable; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::map::MapContainer` [INFO] [stderr] --> src/instance.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::map::MapContainer; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sdl2::image::LoadTexture` [INFO] [stderr] --> src/map.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use sdl2::image::LoadTexture; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde::Deserialize` [INFO] [stderr] --> src/map.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use serde::Deserialize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::Result` [INFO] [stderr] --> src/map.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use serde_json::Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/map.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `other` [INFO] [stderr] --> src/mob.rs:17:31 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn distance_to(&self, other: Vector2) { [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_other` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/map.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | let mut map = MapContainer { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] warning: field is never used: `tile_position` [INFO] [stderr] --> src/mob.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | tile_position: Vector2, // Position in tiles. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Item` [INFO] [stderr] --> src/mob.rs:78:1 [INFO] [stderr] | [INFO] [stderr] 78 | struct Item { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/mob.rs:85:5 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn new() -> Item { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never used: `mob` [INFO] [stderr] --> src/player.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | mob: &'a Mob [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never used: `position` [INFO] [stderr] --> src/map.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | position: Vector2 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sdl2::image` [INFO] [stderr] --> src/bin/client.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use sdl2::image; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mouse` [INFO] [stderr] --> src/bin/client.rs:92:13 [INFO] [stderr] | [INFO] [stderr] 92 | let mouse = window.event_pump.mouse_state(); [INFO] [stderr] | ^^^^^ help: consider prefixing with an underscore: `_mouse` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_variables)] on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/bin/client.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | let mut texture = texture::Texture::new(self.tex_id, creator.load_texture(path).unwrap()); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_mut)] on by default [INFO] [stderr] [INFO] [stderr] warning: field is never used: `sdl_context` [INFO] [stderr] --> src/bin/client.rs:61:5 [INFO] [stderr] | [INFO] [stderr] 61 | sdl_context: sdl2::Sdl, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: field is never used: `video` [INFO] [stderr] --> src/bin/client.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | video: sdl2::VideoSubsystem, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/bin/client.rs:110:21 [INFO] [stderr] | [INFO] [stderr] 110 | window.canvas.copy(&game_state.textures.get(&id).unwrap().texture, game_state.textures.get(&id).unwrap().texture_map[&game_state.get_map().tiles[i][index].get_texture_index()], game_state.get_map().tiles[i][index].get_rect()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_must_use)] on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] error: linking with `cc` failed: exit code: 1 [INFO] [stderr] | [INFO] [stderr] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/client-f8764672ddf6fe22.client.7e168noz-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/client-f8764672ddf6fe22.client.7e168noz-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/client-f8764672ddf6fe22.client.7e168noz-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/client-f8764672ddf6fe22.client.7e168noz-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/client-f8764672ddf6fe22.client.7e168noz-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/client-f8764672ddf6fe22.client.7e168noz-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/client-f8764672ddf6fe22.client.7e168noz-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/client-f8764672ddf6fe22.client.7e168noz-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/client-f8764672ddf6fe22.client.7e168noz-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/client-f8764672ddf6fe22.client.7e168noz-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/client-f8764672ddf6fe22.client.7e168noz-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/client-f8764672ddf6fe22.client.7e168noz-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/client-f8764672ddf6fe22.client.7e168noz-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/client-f8764672ddf6fe22.client.7e168noz-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/client-f8764672ddf6fe22.client.7e168noz-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/client-f8764672ddf6fe22.client.7e168noz-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/client-f8764672ddf6fe22" "/opt/crater/target/debug/deps/client-f8764672ddf6fe22.56ghn4fl8i0ipdqd.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/libinfinity-0c2ffbc1abb575ca.rlib" "/opt/crater/target/debug/deps/libserde_json-bb5151217acbfb0d.rlib" "/opt/crater/target/debug/deps/libryu-ee97bb54d9ea9443.rlib" "/opt/crater/target/debug/deps/libitoa-b6d9c91cf55afec8.rlib" "/opt/crater/target/debug/deps/libserde-529fe0e8617ee570.rlib" "/opt/crater/target/debug/deps/libsdl2-ee9d8493b5660315.rlib" "/opt/crater/target/debug/deps/librand-6af85c75b0db9de2.rlib" "/opt/crater/target/debug/deps/librand_xorshift-6a66fc50e6498d00.rlib" "/opt/crater/target/debug/deps/librand_pcg-bbd1995c669eabc3.rlib" "/opt/crater/target/debug/deps/librand_hc-83283ab0a0ee3df8.rlib" "/opt/crater/target/debug/deps/librand_chacha-13e64131fa1aab21.rlib" "/opt/crater/target/debug/deps/librand_isaac-94fc18115e9afd61.rlib" "/opt/crater/target/debug/deps/librand_core-482fdfb44fe03c92.rlib" "/opt/crater/target/debug/deps/librand_os-7afecdbee6bdc10c.rlib" "/opt/crater/target/debug/deps/librand_jitter-1f73b0ee635ef60d.rlib" "/opt/crater/target/debug/deps/librand_core-a9179eebc82cf0f0.rlib" "/opt/crater/target/debug/deps/libsdl2_sys-d75d9654c583ea1b.rlib" "/opt/crater/target/debug/deps/libbitflags-7220c27e9b431920.rlib" "/opt/crater/target/debug/deps/liblazy_static-35422c5bca3b6d90.rlib" "/opt/crater/target/debug/deps/liblibc-350a43dfff55e8f8.rlib" "/opt/crater/target/debug/deps/libnum-24f81039d80076dd.rlib" "/opt/crater/target/debug/deps/libnum_iter-826f20cb78fac559.rlib" "/opt/crater/target/debug/deps/libnum_integer-b3bd4602e5d1c829.rlib" "/opt/crater/target/debug/deps/libnum_traits-d1d041996ae7d877.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9895e8982b0a79e7.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-57306b8ed3378a0e.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-54463ae5adae3649.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-d99667b199a9875a.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-51f4300e102199f5.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-b3ccf1f7737a6a91.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-157c37a3ceb78853.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-505bcee45aafb736.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-c29abd529ba4452b.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-895383a3232f6572.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-5594cb4f559bc761.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-38e90baf978bc428.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_image" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: cannot find -lSDL2_image [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `infinity`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "e821a060451bb5a65948450f17f4cea36677d525d218cbf6a9c6fbaaeeeaf875"` [INFO] running `"docker" "rm" "-f" "e821a060451bb5a65948450f17f4cea36677d525d218cbf6a9c6fbaaeeeaf875"` [INFO] [stdout] e821a060451bb5a65948450f17f4cea36677d525d218cbf6a9c6fbaaeeeaf875