[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 1.54.0 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-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/PeterEKodl/simulations on toolchain 1.54.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.54.0" "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-2/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" "+1.54.0" "fetch" "--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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+1.54.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fca01104bc1137446e740b744608eb5b25c8e690a3c341afad9e4aec8f65fe8b
[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" "fca01104bc1137446e740b744608eb5b25c8e690a3c341afad9e4aec8f65fe8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fca01104bc1137446e740b744608eb5b25c8e690a3c341afad9e4aec8f65fe8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fca01104bc1137446e740b744608eb5b25c8e690a3c341afad9e4aec8f65fe8b", kill_on_drop: false }`
[INFO] [stdout] fca01104bc1137446e740b744608eb5b25c8e690a3c341afad9e4aec8f65fe8b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+1.54.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fa0df6c729c92c4f743017c27e43f302b4ba3c288d86adf32d79a2c504945a40
[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" "fa0df6c729c92c4f743017c27e43f302b4ba3c288d86adf32d79a2c504945a40", kill_on_drop: false }`
[INFO] [stderr]    Compiling sdl2 v0.34.5
[INFO] [stderr]    Compiling c_vec v2.0.0
[INFO] [stderr]    Compiling sdl2-sys v0.34.5
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling nalgebra-macros v0.1.0
[INFO] [stderr]    Compiling approx v0.5.0
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling num-complex v0.4.0
[INFO] [stderr]    Compiling num-rational v0.4.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-c250f9d16d8968da.simulations.9raf4avt-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-c250f9d16d8968da.simulations.9raf4avt-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-c250f9d16d8968da.simulations.9raf4avt-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-c250f9d16d8968da.simulations.9raf4avt-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-c250f9d16d8968da.simulations.9raf4avt-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-c250f9d16d8968da.simulations.9raf4avt-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-c250f9d16d8968da.simulations.9raf4avt-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-c250f9d16d8968da.simulations.9raf4avt-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-c250f9d16d8968da.simulations.9raf4avt-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-c250f9d16d8968da.simulations.9raf4avt-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-c250f9d16d8968da.simulations.9raf4avt-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-c250f9d16d8968da.simulations.9raf4avt-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-c250f9d16d8968da.simulations.9raf4avt-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-c250f9d16d8968da.simulations.9raf4avt-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-c250f9d16d8968da.simulations.9raf4avt-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-c250f9d16d8968da.simulations.9raf4avt-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/simulations-c250f9d16d8968da.wljnk35gsu3muct.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libsdl2-9b013f95aad9115d.rlib" "/opt/rustwide/target/debug/deps/libc_vec-9dd5c06e1da9b581.rlib" "/opt/rustwide/target/debug/deps/libsdl2_sys-d3e2a334f8663f19.rlib" "/opt/rustwide/target/debug/deps/libbitflags-f89ae4b715176e2d.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-5c53d641eb010a81.rlib" "/opt/rustwide/target/debug/deps/liblibc-ef703b7b559de845.rlib" "/opt/rustwide/target/debug/deps/libnalgebra-8c6774ad4c7246bd.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-d6a17e0e272facbe.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-4357e2876667f368.rlib" "/opt/rustwide/target/debug/deps/libtypenum-9959a671b08afc70.rlib" "/opt/rustwide/target/debug/deps/libsimba-d2399cac14228452.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-dfec83f2724909f2.rlib" "/opt/rustwide/target/debug/deps/libmatrixmultiply-b42deac278098437.rlib" "/opt/rustwide/target/debug/deps/librawpointer-007031bc2b481d22.rlib" "/opt/rustwide/target/debug/deps/libapprox-2f568cb3fc664a9e.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-1784cf2b87584f53.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-2420485b9e5ef5e1.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-785e3cb61c4b1960.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-087191a88bdaa22d.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-9981842c02975178.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-6fb405869b015fde.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d05c5c3c56004b7b.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-42d74d2097528b38.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-fb36534c113d2209.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-b56b9042c12b6535.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-491902d6cb3e76df.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-61834e0981b8c367.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-f78aa99d613a55bc.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-53ee54cd7fed2c57.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-544ecdbd6cda3c58.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-379cc252b6943a79.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-8063eea38dcc5e62.rlib" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-5b228734afae15ee.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d6c7a399d95d173f.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/1.54.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/simulations-c250f9d16d8968da" "-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`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "fa0df6c729c92c4f743017c27e43f302b4ba3c288d86adf32d79a2c504945a40", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fa0df6c729c92c4f743017c27e43f302b4ba3c288d86adf32d79a2c504945a40", kill_on_drop: false }`
[INFO] [stdout] fa0df6c729c92c4f743017c27e43f302b4ba3c288d86adf32d79a2c504945a40
