[INFO] updating cached repository https://github.com/nsmryan/assemble [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] a8f1f6383d67660efa28fcab7b3f5f5083f9695c [INFO] testing nsmryan/assemble against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnsmryan%2Fassemble" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nsmryan/assemble 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/nsmryan/assemble [INFO] finished tweaking git repo https://github.com/nsmryan/assemble [INFO] tweaked toml for git repo https://github.com/nsmryan/assemble written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/nsmryan/assemble 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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] db83cb63815bd2b78c11e1cfbc039e1b6bb7a7109ecadbd3d8543f12756bec0e [INFO] running `"docker" "start" "-a" "db83cb63815bd2b78c11e1cfbc039e1b6bb7a7109ecadbd3d8543f12756bec0e"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.9 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling cmake v0.1.42 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling wrapped2d v0.4.0 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling assemble v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `std::cmp` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::cmp; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Rect` [INFO] [stderr] --> src/main.rs:9:18 [INFO] [stderr] | [INFO] [stderr] 9 | use sdl2::rect::{Rect, Point}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/main.rs:231:27 [INFO] [stderr] | [INFO] [stderr] 231 | goal_angle -= (f32::consts::PI / 2.0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/main.rs:269:32 [INFO] [stderr] | [INFO] [stderr] 269 | let body_contact = (body_a == body_handle || body_b == body_handle); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/main.rs:270:32 [INFO] [stderr] | [INFO] [stderr] 270 | let goal_contact = (body_a == goal_handle || body_b == goal_handle); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/main.rs:303:60 [INFO] [stderr] | [INFO] [stderr] 303 | let first_point = sdl2_point(first_vertex);; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `goal_angle` is assigned to, but never used [INFO] [stderr] --> src/main.rs:79:9 [INFO] [stderr] | [INFO] [stderr] 79 | let mut goal_angle = 0.0; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] = note: consider using `_goal_angle` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `goal_distance` is never read [INFO] [stderr] --> src/main.rs:80:9 [INFO] [stderr] | [INFO] [stderr] 80 | let mut goal_distance = 0.0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: variable `score` is assigned to, but never used [INFO] [stderr] --> src/main.rs:81:9 [INFO] [stderr] | [INFO] [stderr] 81 | let mut score = 0.0; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_score` instead [INFO] [stderr] [INFO] [stderr] warning: unused variable: `keymod` [INFO] [stderr] --> src/main.rs:180:41 [INFO] [stderr] | [INFO] [stderr] 180 | Event::KeyDown{keycode, keymod, ..} => { [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `keymod: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `keymod` [INFO] [stderr] --> src/main.rs:192:39 [INFO] [stderr] | [INFO] [stderr] 192 | Event::KeyUp{keycode, keymod, ..} => { [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `keymod: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/main.rs:201:36 [INFO] [stderr] | [INFO] [stderr] 201 | Event::MouseMotion{x, y, ..} => { [INFO] [stderr] | ^ help: try ignoring the field: `x: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/main.rs:201:39 [INFO] [stderr] | [INFO] [stderr] 201 | Event::MouseMotion{x, y, ..} => { [INFO] [stderr] | ^ help: try ignoring the field: `y: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `mouse_btn` [INFO] [stderr] --> src/main.rs:204:40 [INFO] [stderr] | [INFO] [stderr] 204 | Event::MouseButtonDown{mouse_btn, ..} => { [INFO] [stderr] | ^^^^^^^^^ help: try ignoring the field: `mouse_btn: _` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `goal_angle` is never read [INFO] [stderr] --> src/main.rs:232:13 [INFO] [stderr] | [INFO] [stderr] 232 | goal_angle *= -1.0; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fixture_a` [INFO] [stderr] --> src/main.rs:266:26 [INFO] [stderr] | [INFO] [stderr] 266 | let (body_a, fixture_a) = contact.fixture_a(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fixture_a` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fixture_b` [INFO] [stderr] --> src/main.rs:267:26 [INFO] [stderr] | [INFO] [stderr] 267 | let (body_b, fixture_b) = contact.fixture_b(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fixture_b` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `goal_transform` [INFO] [stderr] --> src/main.rs:349:13 [INFO] [stderr] | [INFO] [stderr] 349 | let goal_transform = Transform { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_goal_transform` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:216:17 [INFO] [stderr] | [INFO] [stderr] 216 | let mut body = world.body_mut(body_handle); [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: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:217:17 [INFO] [stderr] | [INFO] [stderr] 217 | let mut goal_body = world.body_mut(goal_handle); [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `thread` [INFO] [stderr] --> src/throttler.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | thread: thread::JoinHandle<()>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `World` [INFO] [stderr] --> src/main.rs:36:1 [INFO] [stderr] | [INFO] [stderr] 36 | type World = b2::World; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 58 | canvas.draw_lines(&points[..]); [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] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:316:17 [INFO] [stderr] | [INFO] [stderr] 316 | canvas.draw_line(first_point, last_point); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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/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/assemble-164739ba5091f0a6.assemble.5utinb5f-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/assemble-164739ba5091f0a6.assemble.5utinb5f-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/assemble-164739ba5091f0a6.assemble.5utinb5f-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/assemble-164739ba5091f0a6.assemble.5utinb5f-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/assemble-164739ba5091f0a6.assemble.5utinb5f-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/assemble-164739ba5091f0a6.assemble.5utinb5f-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/assemble-164739ba5091f0a6.assemble.5utinb5f-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/assemble-164739ba5091f0a6.assemble.5utinb5f-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/assemble-164739ba5091f0a6.assemble.5utinb5f-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/assemble-164739ba5091f0a6.assemble.5utinb5f-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/assemble-164739ba5091f0a6.assemble.5utinb5f-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/assemble-164739ba5091f0a6.assemble.5utinb5f-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/assemble-164739ba5091f0a6.assemble.5utinb5f-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/assemble-164739ba5091f0a6.assemble.5utinb5f-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/assemble-164739ba5091f0a6.assemble.5utinb5f-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/assemble-164739ba5091f0a6.assemble.5utinb5f-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/assemble-164739ba5091f0a6" "/opt/rustwide/target/debug/deps/assemble-164739ba5091f0a6.5fv3j6ptkkqrtewa.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/wrapped2d-f2c16e775be36f43/out/lib" "-L" "/opt/rustwide/target/debug/build/wrapped2d-f2c16e775be36f43/out" "-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/libwrapped2d-96ee9a5b75a50ebc.rlib" "/opt/rustwide/target/debug/deps/libbitflags-b8d615fe970e5edc.rlib" "/opt/rustwide/target/debug/deps/libvec_map-423d6945ab3c8d98.rlib" "/opt/rustwide/target/debug/deps/libsdl2-099426021422273d.rlib" "/opt/rustwide/target/debug/deps/librand-4908dfa67425be75.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-76feb1be4b384d8c.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-765ae007666635d1.rlib" "/opt/rustwide/target/debug/deps/librand_hc-68dde4176773bfba.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-eed2f9bcc51aafd2.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-3afb46e714f27b23.rlib" "/opt/rustwide/target/debug/deps/librand_core-35d9152f59e9c107.rlib" "/opt/rustwide/target/debug/deps/librand_os-3fb53a0c7da7d63b.rlib" "/opt/rustwide/target/debug/deps/librand_jitter-090e0608e0e97bb5.rlib" "/opt/rustwide/target/debug/deps/librand_core-fc3b85f002e2a6f9.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-14f74459c62340a7.rlib" "/opt/rustwide/target/debug/deps/libbitflags-a637fa8d282392d5.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-36bd8bbfaaa85bd1.rlib" "/opt/rustwide/target/debug/deps/liblibc-70a8baaa89f21cfb.rlib" "/opt/rustwide/target/debug/deps/libnum-4e4481228ab9a29f.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-07972a09d7bfdee6.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-278461b652ca3f8a.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-28de8f129a270862.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" "-lstdc++" "-lSDL2" "-lSDL2_image" "-lutil" "-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; 24 warnings emitted [INFO] [stderr] [INFO] [stderr] error: could not compile `assemble`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "db83cb63815bd2b78c11e1cfbc039e1b6bb7a7109ecadbd3d8543f12756bec0e"` [INFO] running `"docker" "rm" "-f" "db83cb63815bd2b78c11e1cfbc039e1b6bb7a7109ecadbd3d8543f12756bec0e"` [INFO] [stdout] db83cb63815bd2b78c11e1cfbc039e1b6bb7a7109ecadbd3d8543f12756bec0e