[INFO] cloning repository https://github.com/PerminovEugene/rust-game [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PerminovEugene/rust-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPerminovEugene%2Frust-game"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPerminovEugene%2Frust-game'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 080e661f6a71fa4116c21644a16d4b3652165ea0 [INFO] testing PerminovEugene/rust-game against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPerminovEugene%2Frust-game" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PerminovEugene/rust-game on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/PerminovEugene/rust-game [INFO] finished tweaking git repo https://github.com/PerminovEugene/rust-game [INFO] tweaked toml for git repo https://github.com/PerminovEugene/rust-game written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/PerminovEugene/rust-game already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stdout] 6e9bdba47d076386c4bb02df4f3f6ffab299189aaf548c638ee070003dceb896 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "6e9bdba47d076386c4bb02df4f3f6ffab299189aaf548c638ee070003dceb896"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Compiling shred-derive v0.5.1 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling crossbeam-channel v0.2.6 [INFO] [stderr] Compiling crossbeam v0.4.1 [INFO] [stderr] Compiling shred v0.7.2 [INFO] [stderr] Compiling hibitset v0.5.4 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling specs v0.14.3 [INFO] [stderr] Compiling game v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `super::MovementCommand` [INFO] [stderr] --> src/ai.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use super::MovementCommand; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `sdl2::event::Event` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use sdl2::event::Event; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sdl2::keyboard::Keycode` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use sdl2::keyboard::Keycode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Point` [INFO] [stderr] --> src/main.rs:11:18 [INFO] [stderr] | [INFO] [stderr] 11 | use sdl2::rect::{Point, Rect}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `specs::storage::StorageEntry` [INFO] [stderr] --> src/main.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | use specs::storage::StorageEntry; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused label [INFO] [stderr] --> src/main.rs:138:5 [INFO] [stderr] | [INFO] [stderr] 138 | 'running: loop { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_labels)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/main.rs:185:5 [INFO] [stderr] | [INFO] [stderr] 138 | / 'running: loop { [INFO] [stderr] 139 | | // None - no change, Some(MovementCommand) - perform movement [INFO] [stderr] 140 | | // let mut movement_command = None; [INFO] [stderr] 141 | | // Handle events [INFO] [stderr] ... | [INFO] [stderr] 182 | | ::std::thread::sleep(Duration::new(0, 1_000_000_000u32 / 20)); [INFO] [stderr] 183 | | } [INFO] [stderr] | |_____- any code following this expression is unreachable [INFO] [stderr] 184 | [INFO] [stderr] 185 | Ok(()) [INFO] [stderr] | ^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event_pump` [INFO] [stderr] --> src/main.rs:136:9 [INFO] [stderr] | [INFO] [stderr] 136 | let mut event_pump = sdl_context.event_pump()?; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_pump` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `movement_command` [INFO] [stderr] --> src/ai.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | let movement_command = match &*data.0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_movement_command` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vel` [INFO] [stderr] --> src/ai.rs:26:17 [INFO] [stderr] | [INFO] [stderr] 26 | for (_, vel) in (&data.1, &mut data.2).join() { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_vel` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:136:9 [INFO] [stderr] | [INFO] [stderr] 136 | let mut event_pump = sdl_context.event_pump()?; [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: constant is never used: `ENEMy_MOVEMENT_SPEED` [INFO] [stderr] --> src/ai.rs:7:1 [INFO] [stderr] | [INFO] [stderr] 7 | const ENEMy_MOVEMENT_SPEED: i32 = 20; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `direction_spritesheet_row` [INFO] [stderr] --> src/main.rs:28:4 [INFO] [stderr] | [INFO] [stderr] 28 | fn direction_spritesheet_row(direction: Direction) -> i32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `character_animation_frames` [INFO] [stderr] --> src/main.rs:39:4 [INFO] [stderr] | [INFO] [stderr] 39 | fn character_animation_frames(spritesheet: usize, top_left_frame: Rect, direction: Direction) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ENEMy_MOVEMENT_SPEED` should have an upper case name [INFO] [stderr] --> src/ai.rs:7:7 [INFO] [stderr] | [INFO] [stderr] 7 | const ENEMy_MOVEMENT_SPEED: i32 = 20; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case (notice the capitalization): `ENEMY_MOVEMENT_SPEED` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [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/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/game-df3886acad3fd760.game.cptkacjq-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/game-df3886acad3fd760.game.cptkacjq-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/game-df3886acad3fd760.game.cptkacjq-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/game-df3886acad3fd760.game.cptkacjq-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/game-df3886acad3fd760.game.cptkacjq-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/game-df3886acad3fd760.game.cptkacjq-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/game-df3886acad3fd760.game.cptkacjq-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/game-df3886acad3fd760.game.cptkacjq-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/game-df3886acad3fd760.game.cptkacjq-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/game-df3886acad3fd760.game.cptkacjq-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/game-df3886acad3fd760.game.cptkacjq-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/game-df3886acad3fd760.game.cptkacjq-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/game-df3886acad3fd760.game.cptkacjq-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/game-df3886acad3fd760.game.cptkacjq-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/game-df3886acad3fd760.game.cptkacjq-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/game-df3886acad3fd760.game.cptkacjq-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/game-df3886acad3fd760" "/opt/rustwide/target/debug/deps/game-df3886acad3fd760.3dlvl27c2oav777j.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2-016684c94da87a06.rlib" "/opt/rustwide/target/debug/deps/librand-1c548957432a0c6a.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-9137e90b66e9e6c6.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-765ae007666635d1.rlib" "/opt/rustwide/target/debug/deps/librand_hc-887e3f0b842d4fa4.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-da5f89cfe8afc855.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-2ce0e949bd8770fd.rlib" "/opt/rustwide/target/debug/deps/librand_os-efb031fb10cfab88.rlib" "/opt/rustwide/target/debug/deps/librand_jitter-090e0608e0e97bb5.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-5b42c5117927f3c7.rlib" "/opt/rustwide/target/debug/deps/libbitflags-a637fa8d282392d5.rlib" "/opt/rustwide/target/debug/deps/libnum-104529ba3550f7a7.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-b1690be1b5a4a673.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-e2d76c693688508b.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-447df9d8850f95e5.rlib" "/opt/rustwide/target/debug/deps/libspecs-74e020f3f0ae7099.rlib" "/opt/rustwide/target/debug/deps/libtuple_utils-3c603fde32a12b70.rlib" "/opt/rustwide/target/debug/deps/libshrev-35175c724b454dec.rlib" "/opt/rustwide/target/debug/deps/libnonzero_signed-0a2048f8d502af4a.rlib" "/opt/rustwide/target/debug/deps/liblog-c709ae7ff9aa4321.rlib" "/opt/rustwide/target/debug/deps/libhibitset-14023691800cfa3d.rlib" "/opt/rustwide/target/debug/deps/libatom-e8516b6a2f53b099.rlib" "/opt/rustwide/target/debug/deps/libfnv-18c63eb7d27d11b7.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam-70c6e8ecf1eb65a5.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-1bb77b2bb04a1d50.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-209cb7d3cf820114.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_channel-05b44c24b12b55f9.rlib" "/opt/rustwide/target/debug/deps/libparking_lot-e9f2fc45a9497a48.rlib" "/opt/rustwide/target/debug/deps/libparking_lot_core-b46e643f97dc5231.rlib" "/opt/rustwide/target/debug/deps/liblock_api-b204f64ec2915fbb.rlib" "/opt/rustwide/target/debug/deps/libowning_ref-e3955c41b28b832e.rlib" "/opt/rustwide/target/debug/deps/libstable_deref_trait-52d0dd6ebcd8d383.rlib" "/opt/rustwide/target/debug/deps/librand-e270db0b0386f990.rlib" "/opt/rustwide/target/debug/deps/librand_core-e31c4a8daf1551c2.rlib" "/opt/rustwide/target/debug/deps/librand_core-fc3b85f002e2a6f9.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-a66f7fb3c3f1e0ac.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-6121fa94713886f7.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-d89c2d7a36eb453e.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-e22f68a3886f418c.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-ea4e5c35f05f6ca0.rlib" "/opt/rustwide/target/debug/deps/libshred-ff2d317fcf53d1a7.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-13f2e93db959e239.rlib" "/opt/rustwide/target/debug/deps/librayon-417fff3c792307b3.rlib" "/opt/rustwide/target/debug/deps/librayon_core-879aca25bad44c90.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-bc27f7054a1b722a.rlib" "/opt/rustwide/target/debug/deps/liblibc-4188ef2a529901ad.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_queue-75bbc5e15dc0ed21.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-a9e0d04c077c91e1.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-eb28c5bd8246c8d0.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-6e82e76ec854833d.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-5c24e8767944acb0.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-76f5c6d637dd14b0.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-36bd8bbfaaa85bd1.rlib" "/opt/rustwide/target/debug/deps/libmaybe_uninit-c59d4d0642fbf7ab.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-0d7329a98a9ffead.rlib" "/opt/rustwide/target/debug/deps/libeither-667bb5f36f496548.rlib" "/opt/rustwide/target/debug/deps/libmopa-f6b4583abf06a24b.rlib" "/opt/rustwide/target/debug/deps/libfxhash-6fefcd03440aac4a.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-78580fbf595daae7.rlib" "/opt/rustwide/target/debug/deps/libarrayvec-5500f61fd4f09f05.rlib" "/opt/rustwide/target/debug/deps/libnodrop-fbdee1536146624a.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-44f8eb3d0b2fad61.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-abc626f09920d361.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-546e83c8973f1a65.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-12768dfc68674934.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-e06867e4497f2ee8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-cbc579f43f6df57b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-7abd6d5a7ebf9a23.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-46423c7bc03bd327.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-fc3773ed7bc68f07.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-9cdc98176efd27e2.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-02d88502a763e06b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-8cdc9d38dd6cd3ce.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-336f7d63e72901ef.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-57917b1be5233117.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_image" "-lutil" "-ldl" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-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; 15 warnings emitted [INFO] [stderr] [INFO] [stderr] error: could not compile `game`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "6e9bdba47d076386c4bb02df4f3f6ffab299189aaf548c638ee070003dceb896"` [INFO] running `"docker" "rm" "-f" "6e9bdba47d076386c4bb02df4f3f6ffab299189aaf548c638ee070003dceb896"` [INFO] [stdout] 6e9bdba47d076386c4bb02df4f3f6ffab299189aaf548c638ee070003dceb896