[INFO] cloning repository https://github.com/matthewAURA/weapon-designer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matthewAURA/weapon-designer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmatthewAURA%2Fweapon-designer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmatthewAURA%2Fweapon-designer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 24741daea1a52cf4af4edebb0f92207ad8bba39b
[INFO] checking matthewAURA/weapon-designer/24741daea1a52cf4af4edebb0f92207ad8bba39b against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FmatthewAURA%2Fweapon-designer" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/matthewAURA/weapon-designer
[INFO] finished tweaking git repo https://github.com/matthewAURA/weapon-designer
[INFO] tweaked toml for git repo https://github.com/matthewAURA/weapon-designer written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/matthewAURA/weapon-designer on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/matthewAURA/weapon-designer already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wide v0.6.5
[INFO] [stderr]   Downloaded interpolation v0.2.0
[INFO] [stderr]   Downloaded piston-graphics_api_version v1.0.0
[INFO] [stderr]   Downloaded piston v0.53.0
[INFO] [stderr]   Downloaded serde v1.0.126
[INFO] [stderr]   Downloaded arrayvec v0.7.1
[INFO] [stderr]   Downloaded spin_sleep v1.0.0
[INFO] [stderr]   Downloaded glutin_glx_sys v0.1.7
[INFO] [stderr]   Downloaded wayland-egl v0.28.5
[INFO] [stderr]   Downloaded dlib v0.4.2
[INFO] [stderr]   Downloaded xcursor v0.3.3
[INFO] [stderr]   Downloaded simba v0.5.1
[INFO] [stderr]   Downloaded vecmath v1.0.0
[INFO] [stderr]   Downloaded glutin_egl_sys v0.1.5
[INFO] [stderr]   Downloaded glutin_emscripten_sys v0.1.1
[INFO] [stderr]   Downloaded owned_ttf_parser v0.6.0
[INFO] [stderr]   Downloaded crossbeam-queue v0.3.2
[INFO] [stderr]   Downloaded gfx_gl v0.6.1
[INFO] [stderr]   Downloaded pistoncore-event_loop v0.53.0
[INFO] [stderr]   Downloaded piston-shaders_graphics2d v0.4.0
[INFO] [stderr]   Downloaded glutin_wgl_sys v0.1.5
[INFO] [stderr]   Downloaded rusttype v0.9.2
[INFO] [stderr]   Downloaded andrew v0.3.1
[INFO] [stderr]   Downloaded piston2d-graphics v0.40.0
[INFO] [stderr]   Downloaded wayland-commons v0.28.5
[INFO] [stderr]   Downloaded gfx v0.18.2
[INFO] [stderr]   Downloaded piston_window v0.120.0
[INFO] [stderr]   Downloaded piston2d-gfx_graphics v0.73.0
[INFO] [stderr]   Downloaded cocoa v0.23.0
[INFO] [stderr]   Downloaded calloop v0.6.5
[INFO] [stderr]   Downloaded gfx_core v0.9.2
[INFO] [stderr]   Downloaded gfx_device_gl v0.16.2
[INFO] [stderr]   Downloaded ttf-parser v0.6.2
[INFO] [stderr]   Downloaded wayland-protocols v0.28.5
[INFO] [stderr]   Downloaded smithay-client-toolkit v0.12.3
[INFO] [stderr]   Downloaded rapier2d v0.9.2
[INFO] [stderr]   Downloaded xml-rs v0.8.3
[INFO] [stderr]   Downloaded nom v6.2.1
[INFO] [stderr]   Downloaded nix v0.18.0
[INFO] [stderr]   Downloaded parry2d v0.5.1
[INFO] [stderr]   Downloaded wayland-client v0.28.5
[INFO] [stderr]   Downloaded pistoncore-glutin_window v0.69.0
[INFO] [stderr]   Downloaded glutin v0.26.0
[INFO] [stderr]   Downloaded pistoncore-input v1.0.0
[INFO] [stderr]   Downloaded gl_generator v0.13.1
[INFO] [stderr]   Downloaded nalgebra v0.27.1
[INFO] [stderr]   Downloaded pistoncore-window v0.47.0
[INFO] [stderr]   Downloaded serde_derive v1.0.126
[INFO] [stderr]   Downloaded safe_arch v0.5.2
[INFO] [stderr]   Downloaded redox_syscall v0.2.9
[INFO] [stderr]   Downloaded wayland-scanner v0.28.5
[INFO] [stderr]   Downloaded wayland-cursor v0.28.5
[INFO] [stderr]   Downloaded piston-float v1.0.0
[INFO] [stderr]   Downloaded piston-viewport v1.0.0
[INFO] [stderr]   Downloaded shader_version v0.7.0
[INFO] [stderr]   Downloaded piston-gfx_texture v0.41.0
[INFO] [stderr]   Downloaded libc v0.2.97
[INFO] [stderr]   Downloaded piston-texture v0.8.0
[INFO] [stderr]   Downloaded gl v0.13.0
[INFO] [stderr]   Downloaded glutin_gles2_sys v0.1.5
[INFO] [stderr]   Downloaded wayland-sys v0.28.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 175551d723d756e3c8b34cb8b4efa64b42552ad9fcb59e43671c7dfe13a930d0
[INFO] running `Command { std: "docker" "start" "-a" "175551d723d756e3c8b34cb8b4efa64b42552ad9fcb59e43671c7dfe13a930d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "175551d723d756e3c8b34cb8b4efa64b42552ad9fcb59e43671c7dfe13a930d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "175551d723d756e3c8b34cb8b4efa64b42552ad9fcb59e43671c7dfe13a930d0", kill_on_drop: false }`
[INFO] [stdout] 175551d723d756e3c8b34cb8b4efa64b42552ad9fcb59e43671c7dfe13a930d0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 59e2a7a2b80e458148d85b1251b20e05e60b92698ac950143d009129ac7cd748
[INFO] running `Command { std: "docker" "start" "-a" "59e2a7a2b80e458148d85b1251b20e05e60b92698ac950143d009129ac7cd748", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.97
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]    Compiling syn v1.0.65
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling standback v0.2.17
[INFO] [stderr]     Checking smallvec v1.6.1
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]     Checking libloading v0.7.0
[INFO] [stderr]     Checking downcast-rs v1.2.0
[INFO] [stderr]    Compiling const_fn v0.4.8
[INFO] [stderr]     Checking crossbeam-deque v0.8.0
[INFO] [stderr]    Compiling time v0.2.27
[INFO] [stderr]     Checking ttf-parser v0.6.2
[INFO] [stderr]     Checking bytemuck v1.7.0
[INFO] [stderr]     Checking once_cell v1.8.0
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]     Checking piston-float v1.0.0
[INFO] [stderr]     Checking dlib v0.5.0
[INFO] [stderr]    Compiling nom v6.2.1
[INFO] [stderr]     Checking either v1.6.1
[INFO] [stderr]     Checking ab_glyph_rasterizer v0.1.4
[INFO] [stderr]     Checking scoped-tls v1.0.0
[INFO] [stderr]     Checking piston-viewport v1.0.0
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]    Compiling nix v0.18.0
[INFO] [stderr]     Checking piston-graphics_api_version v1.0.0
[INFO] [stderr]     Checking walkdir v2.3.2
[INFO] [stderr]     Checking draw_state v0.8.0
[INFO] [stderr]     Checking libloading v0.6.7
[INFO] [stderr]     Checking xdg v2.2.0
[INFO] [stderr]     Checking dlib v0.4.2
[INFO] [stderr]     Checking safe_arch v0.5.2
[INFO] [stderr]     Checking lock_api v0.4.4
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]    Compiling wayland-sys v0.28.5
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]     Checking gfx_core v0.9.2
[INFO] [stderr]     Checking lazycell v1.3.0
[INFO] [stderr]    Compiling wayland-scanner v0.28.5
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]     Checking png v0.16.8
[INFO] [stderr]     Checking approx v0.5.0
[INFO] [stderr]     Checking piston-texture v0.8.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.2
[INFO] [stderr]     Checking nix v0.20.0
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.37
[INFO] [stderr]     Checking memmap2 v0.1.0
[INFO] [stderr]     Checking wide v0.6.5
[INFO] [stderr]     Checking rayon-core v1.9.1
[INFO] [stderr]     Checking raw-window-handle v0.3.3
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.5
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.7
[INFO] [stderr]     Checking xcursor v0.3.3
[INFO] [stderr]    Compiling gfx_gl v0.6.1
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking owned_ttf_parser v0.6.0
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]    Compiling gl v0.13.0
[INFO] [stderr]     Checking rusttype v0.9.2
[INFO] [stderr]     Checking rayon v1.5.1
[INFO] [stderr]     Checking mio-extras v2.0.6
[INFO] [stderr]     Checking andrew v0.3.1
[INFO] [stderr]     Checking shader_version v0.7.0
[INFO] [stderr]     Checking vecmath v1.0.0
[INFO] [stderr]     Checking interpolation v0.2.0
[INFO] [stderr]     Checking read_color v1.0.0
[INFO] [stderr]     Checking spin_sleep v1.0.0
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking arrayvec v0.7.1
[INFO] [stderr]     Checking piston-shaders_graphics2d v0.4.0
[INFO] [stderr]     Checking piston2d-graphics v0.40.0
[INFO] [stderr]     Checking crossbeam v0.8.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]     Checking gfx v0.18.2
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]     Checking simba v0.5.1
[INFO] [stderr]    Compiling wayland-client v0.28.5
[INFO] [stderr]    Compiling wayland-protocols v0.28.5
[INFO] [stderr]     Checking wayland-commons v0.28.5
[INFO] [stderr]     Checking calloop v0.6.5
[INFO] [stderr]     Checking gfx_device_gl v0.16.2
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[INFO] [stderr]     Checking tiff v0.6.1
[INFO] [stderr]    Compiling time-macros-impl v0.1.2
[INFO] [stderr]    Compiling nalgebra-macros v0.1.0
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]     Checking image v0.23.14
[INFO] [stderr]     Checking time-macros v0.1.1
[INFO] [stderr]     Checking wayland-cursor v0.28.5
[INFO] [stderr]     Checking wayland-egl v0.28.5
[INFO] [stderr]     Checking instant v0.1.9
[INFO] [stderr]     Checking parking_lot_core v0.8.3
[INFO] [stderr]     Checking parking_lot v0.11.1
[INFO] [stderr]     Checking nalgebra v0.27.1
[INFO] [stderr]     Checking pistoncore-input v1.0.0
[INFO] [stderr]     Checking piston-gfx_texture v0.41.0
[INFO] [stderr]     Checking piston2d-gfx_graphics v0.73.0
[INFO] [stderr]     Checking pistoncore-window v0.47.0
[INFO] [stderr]     Checking pistoncore-event_loop v0.53.0
[INFO] [stderr]     Checking piston v0.53.0
[INFO] [stderr]     Checking parry2d v0.5.1
[INFO] [stderr]     Checking rapier2d v0.9.2
[INFO] [stderr]     Checking smithay-client-toolkit v0.12.3
[INFO] [stderr]     Checking winit v0.24.0
[INFO] [stderr]     Checking glutin v0.26.0
[INFO] [stderr]     Checking pistoncore-glutin_window v0.69.0
[INFO] [stderr]     Checking piston_window v0.120.0
[INFO] [stderr]     Checking weapon-designer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `f` in this scope
[INFO] [stdout]   --> src/window/mod.rs:65:23
[INFO] [stdout]    |
[INFO] [stdout] 65 |     points.iter().map(f)
[INFO] [stdout]    |                       ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Polygon`
[INFO] [stdout]  --> src/window/mod.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 |     types::{Polygon, Vec2d},
[INFO] [stdout]   |             ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `f` in this scope
[INFO] [stdout]   --> src/window/mod.rs:65:23
[INFO] [stdout]    |
[INFO] [stdout] 65 |     points.iter().map(f)
[INFO] [stdout]    |                       ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Polygon`
[INFO] [stdout]  --> src/window/mod.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 |     types::{Polygon, Vec2d},
[INFO] [stdout]   |             ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[[f64; 2]]` cannot be known at compilation time
[INFO] [stdout]   --> src/window/mod.rs:60:48
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn polygon_points(object: SimulationObject) -> [Vec2d<f64>] {
[INFO] [stdout]    |                                                ^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `[[f64; 2]]`
[INFO] [stdout]    = note: the return type of a function must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[[f64; 2]]` cannot be known at compilation time
[INFO] [stdout]   --> src/window/mod.rs:60:48
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn polygon_points(object: SimulationObject) -> [Vec2d<f64>] {
[INFO] [stdout]    |                                                ^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `[[f64; 2]]`
[INFO] [stdout]    = note: the return type of a function must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/window/mod.rs:36:48
[INFO] [stdout]    |
[INFO] [stdout] 36 |                         let p = polygon_points(object);
[INFO] [stdout]    |                                 -------------- ^^^^^^ expected `SimulationObject`, found `&SimulationObject`
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/window/mod.rs:60:4
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn polygon_points(object: SimulationObject) -> [Vec2d<f64>] {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^ ------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/window/mod.rs:36:48
[INFO] [stdout]    |
[INFO] [stdout] 36 |                         let p = polygon_points(object);
[INFO] [stdout]    |                                 -------------- ^^^^^^ expected `SimulationObject`, found `&SimulationObject`
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/window/mod.rs:60:4
[INFO] [stdout]    |
[INFO] [stdout] 60 | fn polygon_points(object: SimulationObject) -> [Vec2d<f64>] {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^ ------------------------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[[f64; 2]]` cannot be known at compilation time
[INFO] [stdout]   --> src/window/mod.rs:36:29
[INFO] [stdout]    |
[INFO] [stdout] 36 |                         let p = polygon_points(object);
[INFO] [stdout]    |                             ^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `[[f64; 2]]`
[INFO] [stdout]    = note: all local variables must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[[f64; 2]]` cannot be known at compilation time
[INFO] [stdout]   --> src/window/mod.rs:36:29
[INFO] [stdout]    |
[INFO] [stdout] 36 |                         let p = polygon_points(object);
[INFO] [stdout]    |                             ^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `[[f64; 2]]`
[INFO] [stdout]    = note: all local variables must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[[f64; 2]]` cannot be known at compilation time
[INFO] [stdout]   --> src/window/mod.rs:36:33
[INFO] [stdout]    |
[INFO] [stdout] 36 |                         let p = polygon_points(object);
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `[[f64; 2]]`
[INFO] [stdout]    = note: the return type of a function must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[[f64; 2]]` cannot be known at compilation time
[INFO] [stdout]   --> src/window/mod.rs:36:33
[INFO] [stdout]    |
[INFO] [stdout] 36 |                         let p = polygon_points(object);
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Sized` is not implemented for `[[f64; 2]]`
[INFO] [stdout]    = note: the return type of a function must have a statically known size
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/window/mod.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let mut window: PistonWindow =
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/window/mod.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let mut window: PistonWindow =
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `window`
[INFO] [stdout]   --> src/main.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout]  8 |     let window = DebugWindow::new(480, 640);
[INFO] [stdout]    |         ------ move occurs because `window` has type `DebugWindow`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 12 |     while let Some(objects) = simulation.next() {
[INFO] [stdout]    |     ------------------------------------------- inside of this loop
[INFO] [stdout] 13 |         window.draw_scene(&objects);
[INFO] [stdout]    |         ^^^^^^ -------------------- `window` moved due to this method call, in previous iteration of loop
[INFO] [stdout]    |
[INFO] [stdout] note: `DebugWindow::draw_scene` takes ownership of the receiver `self`, which moves `window`
[INFO] [stdout]   --> src/window/mod.rs:24:23
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn draw_scene(self, objects: &Vec<SimulationObject>) {
[INFO] [stdout]    |                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `window`
[INFO] [stdout]   --> src/main.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout]  8 |     let window = DebugWindow::new(480, 640);
[INFO] [stdout]    |         ------ move occurs because `window` has type `DebugWindow`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 12 |     while let Some(objects) = simulation.next() {
[INFO] [stdout]    |     ------------------------------------------- inside of this loop
[INFO] [stdout] 13 |         window.draw_scene(&objects);
[INFO] [stdout]    |         ^^^^^^ -------------------- `window` moved due to this method call, in previous iteration of loop
[INFO] [stdout]    |
[INFO] [stdout] note: `DebugWindow::draw_scene` takes ownership of the receiver `self`, which moves `window`
[INFO] [stdout]   --> src/window/mod.rs:24:23
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn draw_scene(self, objects: &Vec<SimulationObject>) {
[INFO] [stdout]    |                       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0382, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0382, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `weapon-designer` (bin "weapon-designer") due to 6 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `weapon-designer` (bin "weapon-designer" test) due to 6 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "59e2a7a2b80e458148d85b1251b20e05e60b92698ac950143d009129ac7cd748", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "59e2a7a2b80e458148d85b1251b20e05e60b92698ac950143d009129ac7cd748", kill_on_drop: false }`
[INFO] [stdout] 59e2a7a2b80e458148d85b1251b20e05e60b92698ac950143d009129ac7cd748
