[INFO] cloning repository https://github.com/WeAreRust/ItIsGame [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WeAreRust/ItIsGame" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWeAreRust%2FItIsGame", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWeAreRust%2FItIsGame'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4801f760a0df0cade92f785d2e6bfb60f19ce00e [INFO] testing WeAreRust/ItIsGame against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWeAreRust%2FItIsGame" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WeAreRust/ItIsGame on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/WeAreRust/ItIsGame [INFO] finished tweaking git repo https://github.com/WeAreRust/ItIsGame [INFO] tweaked toml for git repo https://github.com/WeAreRust/ItIsGame written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/WeAreRust/ItIsGame already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 346ed5718bf42cb70d2dae59e3472233ba34597d58ace082ab5a8d7957daaddc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "346ed5718bf42cb70d2dae59e3472233ba34597d58ace082ab5a8d7957daaddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "346ed5718bf42cb70d2dae59e3472233ba34597d58ace082ab5a8d7957daaddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "346ed5718bf42cb70d2dae59e3472233ba34597d58ace082ab5a8d7957daaddc", kill_on_drop: false }` [INFO] [stdout] 346ed5718bf42cb70d2dae59e3472233ba34597d58ace082ab5a8d7957daaddc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e48b7f3913288a9df83e1aad7e9be338fd95319e93c77dbc522bcb6bfd6522a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8e48b7f3913288a9df83e1aad7e9be338fd95319e93c77dbc522bcb6bfd6522a", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.2 [INFO] [stderr] Compiling libc v0.2.40 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling sdl2-sys v0.31.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling sdl2 v0.31.0 [INFO] [stderr] Compiling game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/world.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | items: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn InWorld + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/world.rs:73:42 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn add_item(&mut self, item: Box) { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn InWorld + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::vec::Vec::::remove_item`: Removing the first item equal to a needle is already easily possible with iterators and the current Vec methods. Furthermore, having a method for one particular case of removal (linear search, only the first item, no swap remove) but not for others is inconsistent. This method will be removed soon. [INFO] [stdout] --> src/player.rs:117:35 [INFO] [stdout] | [INFO] [stdout] 117 | self.keydowns.remove_item(keycode); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `iterator_step_by` has been stable since 1.28.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(iterator_step_by)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-Wl,--eh-frame-hdr" "-L" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/game-743ba096e290a2bd.game.wtrf8np8-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/game-743ba096e290a2bd.game.wtrf8np8-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/game-743ba096e290a2bd.game.wtrf8np8-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/game-743ba096e290a2bd.game.wtrf8np8-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/game-743ba096e290a2bd.game.wtrf8np8-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/game-743ba096e290a2bd.game.wtrf8np8-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/game-743ba096e290a2bd.game.wtrf8np8-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/game-743ba096e290a2bd.game.wtrf8np8-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/game-743ba096e290a2bd.game.wtrf8np8-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/game-743ba096e290a2bd.game.wtrf8np8-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/game-743ba096e290a2bd.game.wtrf8np8-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/game-743ba096e290a2bd.game.wtrf8np8-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/game-743ba096e290a2bd.game.wtrf8np8-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/game-743ba096e290a2bd.game.wtrf8np8-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/game-743ba096e290a2bd.game.wtrf8np8-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/game-743ba096e290a2bd.game.wtrf8np8-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/game-743ba096e290a2bd" "/opt/rustwide/target/debug/deps/game-743ba096e290a2bd.3t2157f27q4irm4d.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2-e9398f2d59a322be.rlib" "/opt/rustwide/target/debug/deps/librand-05d760e9c6ebfbb1.rlib" "/opt/rustwide/target/debug/deps/librand-bc85916a19413289.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-c2b9a6c625ad8bf2.rlib" "/opt/rustwide/target/debug/deps/libbitflags-171913864070e9c9.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-79520e0e29712984.rlib" "/opt/rustwide/target/debug/deps/liblibc-bca6e38d369470ef.rlib" "/opt/rustwide/target/debug/deps/libnum-17ff4f048e19b301.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-7177edc8eea72e43.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-2530a83a961e3500.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-470aa0059e84a659.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-c659455244c9d2ca.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-448643d99e633b5d.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-c7c3d631a525883a.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d7659a11bb201e01.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-9aceb6f83a33a9b6.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-876c3057c8a2a7c2.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-2f02aa3e24d2aa49.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-1d4694108f8cb543.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-79eaa6e630880f50.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-0df1a4ec96f80cf7.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-bba9b0f0f4d77257.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-f848f9c987265235.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0d5ea4f2d39b8e27.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-c22053fa5fc00a3b.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-c52e5d6301e1bd59.rlib" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-2675a9a46b5cec89.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/5d5ff84130da0d74c6ece368dbe821d8f83fa526/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-6e3d052afeb9f711.rlib" "-Wl,-Bdynamic" "-lSDL2_image" "-lSDL2" "-lutil" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lSDL2_image [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `game` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "8e48b7f3913288a9df83e1aad7e9be338fd95319e93c77dbc522bcb6bfd6522a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e48b7f3913288a9df83e1aad7e9be338fd95319e93c77dbc522bcb6bfd6522a", kill_on_drop: false }` [INFO] [stdout] 8e48b7f3913288a9df83e1aad7e9be338fd95319e93c77dbc522bcb6bfd6522a