[INFO] cloning repository https://github.com/SnoozeTime/twengine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SnoozeTime/twengine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSnoozeTime%2Ftwengine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSnoozeTime%2Ftwengine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90121f6e6d6bf491ea816f8c949fc4db0ae31382 [INFO] testing SnoozeTime/twengine against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSnoozeTime%2Ftwengine" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SnoozeTime/twengine on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SnoozeTime/twengine [INFO] finished tweaking git repo https://github.com/SnoozeTime/twengine [INFO] tweaked toml for git repo https://github.com/SnoozeTime/twengine written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/SnoozeTime/twengine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3d29c82cebb39c18e89f5c73253cbc5a9d03a20d8f4c9016ffde6c0d5729f94c [INFO] running `Command { std: "docker" "start" "-a" "3d29c82cebb39c18e89f5c73253cbc5a9d03a20d8f4c9016ffde6c0d5729f94c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d29c82cebb39c18e89f5c73253cbc5a9d03a20d8f4c9016ffde6c0d5729f94c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d29c82cebb39c18e89f5c73253cbc5a9d03a20d8f4c9016ffde6c0d5729f94c", kill_on_drop: false }` [INFO] [stdout] 3d29c82cebb39c18e89f5c73253cbc5a9d03a20d8f4c9016ffde6c0d5729f94c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19bf0e79bff0fe0723a04b2ec3b2fb91ef9fa4096ebaa6756e16003b47abb5bc [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" "19bf0e79bff0fe0723a04b2ec3b2fb91ef9fa4096ebaa6756e16003b47abb5bc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling gio v0.5.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling cairo-rs v0.5.0 [INFO] [stderr] Compiling gdk-pixbuf v0.5.0 [INFO] [stderr] Compiling fragile v0.3.0 [INFO] [stderr] Compiling gdk v0.9.0 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling serde v1.0.82 [INFO] [stderr] Compiling gtk v0.5.0 [INFO] [stderr] Compiling glib-sys v0.7.0 [INFO] [stderr] Compiling gobject-sys v0.7.0 [INFO] [stderr] Compiling gio-sys v0.7.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.7.0 [INFO] [stderr] Compiling cairo-sys-rs v0.7.0 [INFO] [stderr] Compiling pango-sys v0.7.0 [INFO] [stderr] Compiling gdk-sys v0.7.0 [INFO] [stderr] Compiling atk-sys v0.7.0 [INFO] [stderr] Compiling gtk-sys v0.7.0 [INFO] [stderr] Compiling sdl2-sys v0.32.5 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling glib v0.6.1 [INFO] [stderr] Compiling sdl2 v0.32.1 [INFO] [stderr] Compiling serde_derive v1.0.82 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling pango v0.5.0 [INFO] [stderr] Compiling sdl2anim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SWITCH_TO_ADD` should have an upper camel case name [INFO] [stdout] --> src/editor.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | SWITCH_TO_ADD, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SwitchToAdd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SWITCH_TO_SELECT` should have an upper camel case name [INFO] [stdout] --> src/editor.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | SWITCH_TO_SELECT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SwitchToSelect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SWITCH_TO_STATIC` should have an upper camel case name [INFO] [stdout] --> src/editor.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | SWITCH_TO_STATIC, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SwitchToStatic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADD_RECT` should have an upper camel case name [INFO] [stdout] --> src/editor.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | ADD_RECT, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `AddRect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADD_STATIC` should have an upper camel case name [INFO] [stdout] --> src/editor.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | ADD_STATIC, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `AddStatic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/math.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / macro_rules! assert_eq_delta ( [INFO] [stdout] 54 | | ($lhs:expr, $rhs:expr, $delta:expr) => { [INFO] [stdout] 55 | | let diff = $lhs - $rhs; [INFO] [stdout] 56 | | if diff.abs() > $delta { [INFO] [stdout] ... | [INFO] [stdout] 59 | | } [INFO] [stdout] 60 | | ); [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_buttons` [INFO] [stdout] --> src/editor.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let old_buttons = &self.prev_buttons - &buttons; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_buttons` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `textures` [INFO] [stdout] --> src/game.rs:70:49 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn render(&self, context: &mut Context, textures: &TextureCache) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_textures` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/physics.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | for (i, j) in to_resolve { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/physics.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | for (i, j) in to_resolve { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `video_subsystem` [INFO] [stdout] --> src/context.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | video_subsystem: VideoSubsystem, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toLocal` should have a snake case name [INFO] [stdout] --> src/core.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn toLocal(&self, global_pos: Vector2d) -> Vector2d { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `to_local` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` 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/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/embed.embed.8s5adgjh-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/embed.embed.8s5adgjh-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/embed.embed.8s5adgjh-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/embed.embed.8s5adgjh-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/embed.embed.8s5adgjh-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/embed.embed.8s5adgjh-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/embed.embed.8s5adgjh-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/embed.embed.8s5adgjh-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/embed.embed.8s5adgjh-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/embed.embed.8s5adgjh-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/embed.embed.8s5adgjh-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/embed.embed.8s5adgjh-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/embed.embed.8s5adgjh-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/embed.embed.8s5adgjh-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/embed.embed.8s5adgjh-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/embed.embed.8s5adgjh-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/libembed.so" "-Wl,--version-script=/tmp/rustcvZwxq6/list" "/opt/rustwide/target/debug/deps/embed.2n0e1k4qwjbwl94j.rcgu.o" "/opt/rustwide/target/debug/deps/embed.4opphcluq2pubepp.rcgu.o" "-shared" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.49.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/libserde_json-acc9c8baf767a10e.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/libryu-f4f67b4499568bce.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/libitoa-368a938fcc978b1f.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/libserde-7934d3ca3abc746e.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/libsdl2-5d0b8eee0aa30d07.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/librand-8e41b01466136885.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/librand_xorshift-e41b327aa9b627b3.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/librand_pcg-46dc5087f9cf2c19.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/librand_hc-d268684e255bd713.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/librand_chacha-c44ade5b3197130f.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/librand_isaac-9a19ba2f6533957c.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/librand_core-741068a56e7d3da6.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/libsdl2_sys-555f2a6c2b089f33.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/libbitflags-5c7d271dfd8fcb55.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/liblazy_static-bdaffc3be0f3e345.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/liblibc-84189487313b975d.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/libnum-95c9af438eaba823.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/libnum_iter-03aae3250d88cfab.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/libnum_integer-f166a3be6c2d9c93.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/libnum_traits-0d14380347a326c6.rlib" "-Wl,--no-whole-archive" "-Wl,--start-group" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/libstd-e12de7683a34c500.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/libpanic_unwind-446a53c2e468675f.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/libminiz_oxide-86fef9fb252a2d33.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/libadler-3bed9bfd30304751.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/libobject-0e38eeb474a7b386.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/libaddr2line-a846ed547b824740.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/libgimli-c9540f0a4fb9265d.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/librustc_demangle-7d2ca66c92c356eb.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/libhashbrown-147e2c808f949493.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/librustc_std_workspace_alloc-bd2a4369506670e9.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/libunwind-74bfdd0ce7d0ed48.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/libcfg_if-6777f47f1c491841.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/liblibc-b104f1790174f2be.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/liballoc-db37898996f45c13.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/librustc_std_workspace_core-25b7435131fc4938.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcvZwxq6/libcore-9d4b6f3c097e876e.rlib" "-Wl,--no-whole-archive" "-Wl,--end-group" "/tmp/rustcvZwxq6/libcompiler_builtins-3f953ad652ab829a.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_ttf" "-lutil" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lSDL2_ttf [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sdl2anim` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "19bf0e79bff0fe0723a04b2ec3b2fb91ef9fa4096ebaa6756e16003b47abb5bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19bf0e79bff0fe0723a04b2ec3b2fb91ef9fa4096ebaa6756e16003b47abb5bc", kill_on_drop: false }` [INFO] [stdout] 19bf0e79bff0fe0723a04b2ec3b2fb91ef9fa4096ebaa6756e16003b47abb5bc