[INFO] cloning repository https://github.com/PeterEKodl/simulations
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PeterEKodl/simulations" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeterEKodl%2Fsimulations", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeterEKodl%2Fsimulations'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b4546ce70dc820e67567e0a11eca4793ddcc8c21
[INFO] testing PeterEKodl/simulations against beta-2021-08-01 for beta-1.55-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeterEKodl%2Fsimulations" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/PeterEKodl/simulations on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/PeterEKodl/simulations
[INFO] finished tweaking git repo https://github.com/PeterEKodl/simulations
[INFO] tweaked toml for git repo https://github.com/PeterEKodl/simulations written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/PeterEKodl/simulations already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded c_vec v2.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7e99f8af7bc07d15e42e3db66c733568002997546b6c6cd753b69ddfd392fc51
[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" "7e99f8af7bc07d15e42e3db66c733568002997546b6c6cd753b69ddfd392fc51", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7e99f8af7bc07d15e42e3db66c733568002997546b6c6cd753b69ddfd392fc51", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7e99f8af7bc07d15e42e3db66c733568002997546b6c6cd753b69ddfd392fc51", kill_on_drop: false }`
[INFO] [stdout] 7e99f8af7bc07d15e42e3db66c733568002997546b6c6cd753b69ddfd392fc51
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "build" "--frozen" "--message-format=json", 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] e83dc5d1b25918da29276c6fb8a8894f19410fc0c4fa40e46bb086a806ccf66f
[INFO] running `Command { std: "docker" "start" "-a" "e83dc5d1b25918da29276c6fb8a8894f19410fc0c4fa40e46bb086a806ccf66f", kill_on_drop: false }`
[INFO] [stderr]    Compiling sdl2 v0.34.5
[INFO] [stderr]    Compiling c_vec v2.0.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-rational v0.4.0
[INFO] [stderr]    Compiling sdl2-sys v0.34.5
[INFO] [stderr]    Compiling matrixmultiply v0.3.1
[INFO] [stderr]    Compiling nalgebra-macros v0.1.0
[INFO] [stderr]    Compiling num-complex v0.4.0
[INFO] [stderr]    Compiling approx v0.5.0
[INFO] [stderr]    Compiling simba v0.5.1
[INFO] [stderr]    Compiling nalgebra v0.27.1
[INFO] [stderr]    Compiling simulations v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `super::controller::Controller`
[INFO] [stdout]  --> src/simulation/sand.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use super::controller::Controller;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `canvas`
[INFO] [stdout]   --> src/main.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let mut canvas = window.into_canvas().build().unwrap();
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_canvas`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `j`
[INFO] [stdout]   --> src/simulation/gravity.rs:50:17
[INFO] [stdout]    |
[INFO] [stdout] 50 |             for j in i+1..self.particles.len()
[INFO] [stdout]    |                 ^ help: if this is intentional, prefix it with an underscore: `_j`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dt`
[INFO] [stdout]   --> src/simulation/gravity.rs:46:24
[INFO] [stdout]    |
[INFO] [stdout] 46 |     fn tick(&mut self, dt: &Duration)
[INFO] [stdout]    |                        ^^ help: if this is intentional, prefix it with an underscore: `_dt`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let mut canvas = window.into_canvas().build().unwrap();
[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 is never used: `apply_force`
[INFO] [stdout]   --> src/simulation/particle.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn apply_force(&mut self, force: &Vector2D)
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `apply_acceleration`
[INFO] [stdout]   --> src/simulation/particle.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub fn apply_acceleration(&mut self, acceleration: &Vector2D)
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `tick`
[INFO] [stdout]   --> src/simulation/particle.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 |     pub fn tick(&mut self, dt: &Duration)
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `get_two_particles`
[INFO] [stdout]   --> src/simulation/particle.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn get_two_particles(particles: &mut Vec<Particle>, index1: usize, index2: usize) -> (&mut Particle, &mut Particle)
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `calculate_forces`
[INFO] [stdout]   --> src/simulation/gravity.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn calculate_forces(&mut self, index1: usize, index2: usize, dt: &Duration)
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `Simulation`
[INFO] [stdout]   --> src/simulation.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | struct Simulation
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant is never used: `DT`
[INFO] [stdout]   --> src/simulation.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     const DT: Duration = Duration::from_millis(50);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `K` should have a snake case name
[INFO] [stdout]   --> src/simulation/gravity.rs:26:17
[INFO] [stdout]    |
[INFO] [stdout] 26 |             let K = (p1.mass + p2.mass)/(dt.as_secs_f32()); 
[INFO] [stdout]    |                 ^ help: convert the identifier to snake case (notice the capitalization): `k`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/simulations-a526cd0e93a07423.simulations.b2701dc4-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-a526cd0e93a07423.simulations.b2701dc4-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-a526cd0e93a07423.simulations.b2701dc4-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-a526cd0e93a07423.simulations.b2701dc4-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-a526cd0e93a07423.simulations.b2701dc4-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-a526cd0e93a07423.simulations.b2701dc4-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-a526cd0e93a07423.simulations.b2701dc4-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-a526cd0e93a07423.simulations.b2701dc4-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-a526cd0e93a07423.simulations.b2701dc4-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-a526cd0e93a07423.simulations.b2701dc4-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-a526cd0e93a07423.simulations.b2701dc4-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-a526cd0e93a07423.simulations.b2701dc4-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-a526cd0e93a07423.simulations.b2701dc4-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-a526cd0e93a07423.simulations.b2701dc4-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-a526cd0e93a07423.simulations.b2701dc4-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-a526cd0e93a07423.simulations.b2701dc4-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-a526cd0e93a07423.4bfo1sle8x04wsgq.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2-b75f63a983d62419.rlib" "/opt/rustwide/target/debug/deps/libc_vec-39f58b11bd38fe8d.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-dd17a576907d3ea3.rlib" "/opt/rustwide/target/debug/deps/libbitflags-e09638bf9aca31b4.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-e92083d5a39a8b50.rlib" "/opt/rustwide/target/debug/deps/liblibc-bd0a7f2f55865ae0.rlib" "/opt/rustwide/target/debug/deps/libnalgebra-c12051994fe4f7b8.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-e83795c60c601b7c.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-1d88a2ffbfdfcd22.rlib" "/opt/rustwide/target/debug/deps/libtypenum-f4df5726651c8a1c.rlib" "/opt/rustwide/target/debug/deps/libsimba-d35541eb5a0bbe27.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-8a16ae3de1be2dec.rlib" "/opt/rustwide/target/debug/deps/libmatrixmultiply-eba0a6a83cb3f9e4.rlib" "/opt/rustwide/target/debug/deps/librawpointer-a0c03858c15bcfd5.rlib" "/opt/rustwide/target/debug/deps/libapprox-84c1dc9f1e884c1e.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-c52350720e8028de.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-197d933f09d9a590.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-46a006cddfd334f0.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-5b9870310e470b38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-260022ba8f1ab4ee.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-71377435a799394f.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-658ee5924fde57cd.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-9e8627da6bd1b94a.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-19fdaac49f59be84.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-cb00e2691ea45905.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-50f6726defae5ae1.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-2afc16311deea26e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-bb5cb0fe086ee8cf.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-896053247b5dfd0b.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-735e1f2ac3cf23be.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-9dfb6622644c732c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-beea7d9617fe25c5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-8ef7dd43fc671f88.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-a9a3b2ad67977f47.rlib" "-Wl,-Bdynamic" "-lSDL2" "-lSDL2_gfx" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2021-08-01-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/simulations-a526cd0e93a07423" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs"
[INFO] [stdout]   = note: /usr/bin/ld: cannot find -lSDL2_gfx
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `simulations` due to 2 previous errors; 13 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e83dc5d1b25918da29276c6fb8a8894f19410fc0c4fa40e46bb086a806ccf66f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e83dc5d1b25918da29276c6fb8a8894f19410fc0c4fa40e46bb086a806ccf66f", kill_on_drop: false }`
[INFO] [stdout] e83dc5d1b25918da29276c6fb8a8894f19410fc0c4fa40e46bb086a806ccf66f
