[INFO] cloning repository https://github.com/PizzaCutter/Pong
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PizzaCutter/Pong" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPizzaCutter%2FPong", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPizzaCutter%2FPong'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c9e5a15799b07da5e33241ca7d64032ff20265fb
[INFO] testing PizzaCutter/Pong against beta-2022-07-10 for beta-1.63-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPizzaCutter%2FPong" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/PizzaCutter/Pong on toolchain beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/PizzaCutter/Pong
[INFO] finished tweaking git repo https://github.com/PizzaCutter/Pong
[INFO] tweaked toml for git repo https://github.com/PizzaCutter/Pong written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/PizzaCutter/Pong already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "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" "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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d6a18ecbe05889c8284ac0bfc8f732105031d27a49e2794f87d341fa140d540c
[INFO] running `Command { std: "docker" "start" "-a" "d6a18ecbe05889c8284ac0bfc8f732105031d27a49e2794f87d341fa140d540c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d6a18ecbe05889c8284ac0bfc8f732105031d27a49e2794f87d341fa140d540c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d6a18ecbe05889c8284ac0bfc8f732105031d27a49e2794f87d341fa140d540c", kill_on_drop: false }`
[INFO] [stdout] d6a18ecbe05889c8284ac0bfc8f732105031d27a49e2794f87d341fa140d540c
[INFO] running `Command { std: "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" "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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] abe0a47a57ebf113bfe8d5c1580f54b367802fb0d3c22f58335b7d152d515bc7
[INFO] running `Command { std: "docker" "start" "-a" "abe0a47a57ebf113bfe8d5c1580f54b367802fb0d3c22f58335b7d152d515bc7", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.86
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling version-compare v0.0.10
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling sdl2 v0.34.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling sdl2-sys v0.34.3
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]    Compiling pong v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Point`
[INFO] [stdout]  --> src/main.rs:7:18
[INFO] [stdout]   |
[INFO] [stdout] 7 | use sdl2::rect::{Point, Rect};
[INFO] [stdout]   |                  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use rand::Rng;
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Div`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::ops::Div;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:136:12
[INFO] [stdout]     |
[INFO] [stdout] 136 |         if ((self.position.x - self.radius as f32) < 0.0 || self.position.x >= width as f32)
[INFO] [stdout]     |            ^                                                                               ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 136 -         if ((self.position.x - self.radius as f32) < 0.0 || self.position.x >= width as f32)
[INFO] [stdout] 136 +         if (self.position.x - self.radius as f32) < 0.0 || self.position.x >= width as f32
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:138:15
[INFO] [stdout]     |
[INFO] [stdout] 138 |             if(self.movement_direction.x > 0.0)
[INFO] [stdout]     |               ^                               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 138 -             if(self.movement_direction.x > 0.0)
[INFO] [stdout] 138 +             if self.movement_direction.x > 0.0
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 143 |         if ((self.position.y - self.radius as f32) < 0.0 || self.position.y >= height as f32) 
[INFO] [stdout]     |            ^                                                                                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 143 -         if ((self.position.y - self.radius as f32) < 0.0 || self.position.y >= height as f32) 
[INFO] [stdout] 143 +         if (self.position.y - self.radius as f32) < 0.0 || self.position.y >= height as f32 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]    --> src/main.rs:206:13
[INFO] [stdout]     |
[INFO] [stdout] 206 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:206:9
[INFO] [stdout]     |
[INFO] [stdout] 206 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `magnitude` is never used
[INFO] [stdout]   --> src/main.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn magnitude(self) -> f32{
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `normalize` is never used
[INFO] [stdout]   --> src/main.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn normalize(&mut self) 
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "/tmp/rustcAHVzng/symbols.o" "/opt/rustwide/target/debug/deps/pong-21a4b07be8f375bd.pong.a301ff4a-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/pong-21a4b07be8f375bd.pong.a301ff4a-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/pong-21a4b07be8f375bd.pong.a301ff4a-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/pong-21a4b07be8f375bd.pong.a301ff4a-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/pong-21a4b07be8f375bd.pong.a301ff4a-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/pong-21a4b07be8f375bd.pong.a301ff4a-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/pong-21a4b07be8f375bd.pong.a301ff4a-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/pong-21a4b07be8f375bd.pong.a301ff4a-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/pong-21a4b07be8f375bd.pong.a301ff4a-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/pong-21a4b07be8f375bd.pong.a301ff4a-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/pong-21a4b07be8f375bd.pong.a301ff4a-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/pong-21a4b07be8f375bd.pong.a301ff4a-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/pong-21a4b07be8f375bd.pong.a301ff4a-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/pong-21a4b07be8f375bd.pong.a301ff4a-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/pong-21a4b07be8f375bd.pong.a301ff4a-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/pong-21a4b07be8f375bd.pong.a301ff4a-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/pong-21a4b07be8f375bd.3r6fjwp12ixd0ti9.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/librand-af5b2e5ddca66b99.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-afcbbc49cd4ec441.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-4b4e10d54e032e24.rlib" "/opt/rustwide/target/debug/deps/librand_core-6d461fdedf0cd64f.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-f1faeed53a795226.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-97437e183f3ae6e4.rlib" "/opt/rustwide/target/debug/deps/libsdl2-21e5b2d8027653da.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-f4607e1e2116743e.rlib" "/opt/rustwide/target/debug/deps/libbitflags-c6d9dc90f7379932.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-86422d76b8bd90ed.rlib" "/opt/rustwide/target/debug/deps/liblibc-f893b40ee0816170.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-e057554754fbed42.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-38f4500c8e36887e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-11bb6e96feb6c746.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-f838a014ab1c7d32.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-710883455c4be2e0.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-e96d9169d2effbe1.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-215934dc20828268.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-3e26c049c5c32aac.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-c49e63298582420e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-5d5f00eb3990a6bc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-8f95e5205524a698.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-1ef477c6e479434a.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3020ed0b606b73e5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-7f274de0dcfe29d9.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-3c27a7ce9d667fb8.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-4dd309b4657699ca.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-21f08c242946afef.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_image" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-07-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/pong-21a4b07be8f375bd" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs"
[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; 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pong` due to 2 previous errors; 10 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "abe0a47a57ebf113bfe8d5c1580f54b367802fb0d3c22f58335b7d152d515bc7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "abe0a47a57ebf113bfe8d5c1580f54b367802fb0d3c22f58335b7d152d515bc7", kill_on_drop: false }`
[INFO] [stdout] abe0a47a57ebf113bfe8d5c1580f54b367802fb0d3c22f58335b7d152d515bc7
