[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 beta-2019-07-23 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-1/beta-2019-07-23:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/beta-2019-07-23/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" "+beta-2019-07-23" "build" "--frozen"` [INFO] [stdout] daf26f2b9c53a6906de0734de249956d91052b86e4a1b55cb08b20ea745a1bbc [INFO] running `"docker" "start" "-a" "daf26f2b9c53a6906de0734de249956d91052b86e4a1b55cb08b20ea745a1bbc"` [INFO] [stderr] Compiling serde v1.0.94 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling mio-extras v2.0.5 [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/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/client-d4c50ef62434bed8.client.1pvks7go-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/client-d4c50ef62434bed8.client.1pvks7go-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/client-d4c50ef62434bed8.client.1pvks7go-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/client-d4c50ef62434bed8.client.1pvks7go-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/client-d4c50ef62434bed8.client.1pvks7go-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/client-d4c50ef62434bed8.client.1pvks7go-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/client-d4c50ef62434bed8.client.1pvks7go-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/client-d4c50ef62434bed8.client.1pvks7go-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/client-d4c50ef62434bed8.client.1pvks7go-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/client-d4c50ef62434bed8.client.1pvks7go-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/client-d4c50ef62434bed8.client.1pvks7go-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/client-d4c50ef62434bed8.client.1pvks7go-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/client-d4c50ef62434bed8.client.1pvks7go-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/client-d4c50ef62434bed8.client.1pvks7go-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/client-d4c50ef62434bed8.client.1pvks7go-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/client-d4c50ef62434bed8.client.1pvks7go-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/client-d4c50ef62434bed8" "/opt/crater/target/debug/deps/client-d4c50ef62434bed8.5fqrl417azk5n2fv.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/libinfinity-040b6148fb89c305.rlib" "/opt/crater/target/debug/deps/libserde_json-6c52be79b744a1ec.rlib" "/opt/crater/target/debug/deps/libryu-2328132eba3746b3.rlib" "/opt/crater/target/debug/deps/libitoa-97a946ec35c116e9.rlib" "/opt/crater/target/debug/deps/libserde-d116d751427594a3.rlib" "/opt/crater/target/debug/deps/libsdl2-7fa991d4a8cc7cf5.rlib" "/opt/crater/target/debug/deps/librand-5a99dc109bcb127e.rlib" "/opt/crater/target/debug/deps/librand_xorshift-5e391b21601b8393.rlib" "/opt/crater/target/debug/deps/librand_pcg-569da70b9707a4e4.rlib" "/opt/crater/target/debug/deps/librand_hc-8d037a8bb74cc960.rlib" "/opt/crater/target/debug/deps/librand_chacha-e0df01830eb2547c.rlib" "/opt/crater/target/debug/deps/librand_isaac-8a1220a5cdc55703.rlib" "/opt/crater/target/debug/deps/librand_core-5af554ddf81cd17c.rlib" "/opt/crater/target/debug/deps/librand_os-7316fd6dca5bc093.rlib" "/opt/crater/target/debug/deps/librand_jitter-162e89fc4f3652f5.rlib" "/opt/crater/target/debug/deps/librand_core-4c9a550ae16dbf0f.rlib" "/opt/crater/target/debug/deps/libsdl2_sys-026aa0451a10ec00.rlib" "/opt/crater/target/debug/deps/libbitflags-1f73faaef27177be.rlib" "/opt/crater/target/debug/deps/liblazy_static-6a4e8ea56a445919.rlib" "/opt/crater/target/debug/deps/liblibc-ad8c0d636a224a51.rlib" "/opt/crater/target/debug/deps/libnum-0438b089938c9336.rlib" "/opt/crater/target/debug/deps/libnum_iter-a5764bba922b733a.rlib" "/opt/crater/target/debug/deps/libnum_integer-85a76e678dca4305.rlib" "/opt/crater/target/debug/deps/libnum_traits-8ec551dd91cc2095.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a80a1e8e09cafef8.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e0e6351da805c468.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-e04f54bafc95e331.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-67901d3322495bd5.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-bd390b1abaceaec1.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-312dd37fdc7bedfc.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8ed0e51d58d644a3.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-8a423c320a6c707f.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-d6a95598e2238263.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-d231614b153016eb.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-3821619027f463e4.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-1cfd794d18771a44.rlib" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-dcf33cf10c2452ef.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/beta-2019-07-23-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-c258fea34bf64bce.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" "daf26f2b9c53a6906de0734de249956d91052b86e4a1b55cb08b20ea745a1bbc"` [INFO] running `"docker" "rm" "-f" "daf26f2b9c53a6906de0734de249956d91052b86e4a1b55cb08b20ea745a1bbc"` [INFO] [stdout] daf26f2b9c53a6906de0734de249956d91052b86e4a1b55cb08b20ea745a1bbc