[INFO] cloning repository https://github.com/big-ab-games/prototype-orbit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/big-ab-games/prototype-orbit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbig-ab-games%2Fprototype-orbit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbig-ab-games%2Fprototype-orbit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] de0db49cf86d49b086ac75511fcef82d9968e074 [INFO] testing big-ab-games/prototype-orbit against beta-2021-01-01 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbig-ab-games%2Fprototype-orbit" "/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/big-ab-games/prototype-orbit on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/big-ab-games/prototype-orbit [INFO] finished tweaking git repo https://github.com/big-ab-games/prototype-orbit [INFO] tweaked toml for git repo https://github.com/big-ab-games/prototype-orbit written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/big-ab-games/prototype-orbit already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-bigint v0.1.39 [INFO] [stderr] Downloaded gl_generator v0.5.3 [INFO] [stderr] Downloaded notify v4.0.1 [INFO] [stderr] Downloaded fsevent v0.2.16 [INFO] [stderr] Downloaded gfx v0.16.0 [INFO] [stderr] Downloaded uuid v0.5.0 [INFO] [stderr] Downloaded inotify v0.3.0 [INFO] [stderr] Downloaded freetype-sys v0.4.0 [INFO] [stderr] Downloaded png v0.8.0 [INFO] [stderr] Downloaded num-rational v0.1.38 [INFO] [stderr] Downloaded deflate v0.7.11 [INFO] [stderr] Downloaded image v0.14.0 [INFO] [stderr] Downloaded rayon v0.8.1 [INFO] [stderr] Downloaded gfx_shader_watch v0.3.2 [INFO] [stderr] Downloaded easer v0.2.0 [INFO] [stderr] Downloaded single_value_channel v1.0.0 [INFO] [stderr] Downloaded freetype-rs v0.13.0 [INFO] [stderr] Downloaded gfx_text v0.17.0 [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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08bf1fba3bcfa51e7ae684ac1cffd1418663f9a2bd3baae52c1c79ab5fd749dc [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" "08bf1fba3bcfa51e7ae684ac1cffd1418663f9a2bd3baae52c1c79ab5fd749dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08bf1fba3bcfa51e7ae684ac1cffd1418663f9a2bd3baae52c1c79ab5fd749dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08bf1fba3bcfa51e7ae684ac1cffd1418663f9a2bd3baae52c1c79ab5fd749dc", kill_on_drop: false }` [INFO] [stdout] 08bf1fba3bcfa51e7ae684ac1cffd1418663f9a2bd3baae52c1c79ab5fd749dc [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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a5de14e664e160ace3d7e0aff19c0723a0e736b6f2def74b452426c5f904bce [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" "1a5de14e664e160ace3d7e0aff19c0723a0e736b6f2def74b452426c5f904bce", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.24 [INFO] [stderr] Compiling num-traits v0.1.39 [INFO] [stderr] Compiling either v1.1.0 [INFO] [stderr] Compiling dtoa v0.4.1 [INFO] [stderr] Compiling itoa v0.3.1 [INFO] [stderr] Compiling bitflags v0.8.2 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling gcc v0.3.51 [INFO] [stderr] Compiling cfg-if v0.1.1 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling futures v0.1.14 [INFO] [stderr] Compiling adler32 v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.4.1 [INFO] [stderr] Compiling bytes v0.3.0 [INFO] [stderr] Compiling slab v0.1.3 [INFO] [stderr] Compiling inflate v0.2.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.7 [INFO] [stderr] Compiling single_value_channel v1.0.0 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Compiling x11-dl v2.14.0 [INFO] [stderr] Compiling freetype-sys v0.4.0 [INFO] [stderr] Compiling rayon-core v1.2.1 [INFO] [stderr] Compiling draw_state v0.7.1 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Compiling coco v0.1.1 [INFO] [stderr] Compiling wayland-scanner v0.8.7 [INFO] [stderr] Compiling gl_generator v0.5.3 [INFO] [stderr] Compiling tempfile v2.1.5 [INFO] [stderr] Compiling deflate v0.7.11 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling thread-id v3.1.0 [INFO] [stderr] Compiling net2 v0.2.29 [INFO] [stderr] Compiling num_cpus v1.6.2 [INFO] [stderr] Compiling shared_library v0.1.5 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling time v0.1.37 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling filetime v0.1.10 [INFO] [stderr] Compiling inotify v0.3.0 [INFO] [stderr] Compiling gfx_macros v0.2.1 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling num-integer v0.1.34 [INFO] [stderr] Compiling num-complex v0.1.38 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling easer v0.2.0 [INFO] [stderr] Compiling thread_local v0.3.3 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.6.3 [INFO] [stderr] Compiling wayland-client v0.8.7 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling uuid v0.5.0 [INFO] [stderr] Compiling cgmath v0.14.1 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling walkdir v0.1.8 [INFO] [stderr] Compiling derivative v1.0.0 [INFO] [stderr] Compiling libz-sys v1.0.16 [INFO] [stderr] Compiling num-iter v0.1.33 [INFO] [stderr] Compiling num-bigint v0.1.39 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling memmap v0.4.0 [INFO] [stderr] Compiling regex v0.2.2 [INFO] [stderr] Compiling miow v0.1.5 [INFO] [stderr] Compiling png v0.8.0 [INFO] [stderr] Compiling gfx_gl v0.3.1 [INFO] [stderr] Compiling glutin v0.8.1 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling num-rational v0.1.38 [INFO] [stderr] Compiling rayon v0.8.1 [INFO] [stderr] Compiling num v0.1.39 [INFO] [stderr] Compiling mio v0.5.1 [INFO] [stderr] Compiling freetype-rs v0.13.0 [INFO] [stderr] Compiling notify v4.0.1 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling pretty_env_logger v0.1.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.13 [INFO] [stderr] Compiling gfx_core v0.7.1 [INFO] [stderr] Compiling image v0.14.0 [INFO] [stderr] Compiling gfx v0.16.0 [INFO] [stderr] Compiling gfx_device_gl v0.14.1 [INFO] [stderr] Compiling gfx_shader_watch v0.3.2 [INFO] [stderr] Compiling gfx_text v0.17.0 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.8.7 [INFO] [stderr] Compiling wayland-kbd v0.8.0 [INFO] [stderr] Compiling wayland-window v0.5.0 [INFO] [stderr] Compiling winit v0.6.4 [INFO] [stderr] Compiling gfx_window_glutin v0.16.0 [INFO] [stderr] Compiling prototype_orbit v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[macro_use] extern crate gfx_shader_watch; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/orbitbody/render.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | const BX: f64 = (6.0 / (2.0 * ROOT3)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/orbitbody/render.rs:108:29 [INFO] [stdout] | [INFO] [stdout] 108 | for vert in &mut ORBIT_BODY_VERTICES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/orbitbody/render.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | / const ORBIT_BODY_VERTICES: [OrbitBodyVertex; 3] = [ [INFO] [stdout] 63 | | OrbitBodyVertex{ position: [0.0, 2.0], local_idx: 0 }, [INFO] [stdout] 64 | | OrbitBodyVertex{ position: [-BX as f32, -1.0], local_idx: 0 }, [INFO] [stdout] 65 | | OrbitBodyVertex{ position: [BX as f32, -1.0], local_idx: 0 }]; [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compute.rs:172:22 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn compute_state(mut state: &mut State, tasks: &mut Tasks, delta: f64) { [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 42s [INFO] running `Command { std: "docker" "inspect" "1a5de14e664e160ace3d7e0aff19c0723a0e736b6f2def74b452426c5f904bce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a5de14e664e160ace3d7e0aff19c0723a0e736b6f2def74b452426c5f904bce", kill_on_drop: false }` [INFO] [stdout] 1a5de14e664e160ace3d7e0aff19c0723a0e736b6f2def74b452426c5f904bce [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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen" "--no-run" "--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] 8afb88db6f778678532278d65138756bae229c3f78aa875e904dc0dc1a86d9a0 [INFO] running `Command { std: "docker" "start" "-a" "8afb88db6f778678532278d65138756bae229c3f78aa875e904dc0dc1a86d9a0", kill_on_drop: false }` [INFO] [stderr] Compiling prototype_orbit v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[macro_use] extern crate gfx_shader_watch; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/orbitbody/render.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | const BX: f64 = (6.0 / (2.0 * ROOT3)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> src/orbitbody/render.rs:108:29 [INFO] [stdout] | [INFO] [stdout] 108 | for vert in &mut ORBIT_BODY_VERTICES { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> src/orbitbody/render.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | / const ORBIT_BODY_VERTICES: [OrbitBodyVertex; 3] = [ [INFO] [stdout] 63 | | OrbitBodyVertex{ position: [0.0, 2.0], local_idx: 0 }, [INFO] [stdout] 64 | | OrbitBodyVertex{ position: [-BX as f32, -1.0], local_idx: 0 }, [INFO] [stdout] 65 | | OrbitBodyVertex{ position: [BX as f32, -1.0], local_idx: 0 }]; [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compute.rs:172:22 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn compute_state(mut state: &mut State, tasks: &mut Tasks, delta: f64) { [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.54s [INFO] running `Command { std: "docker" "inspect" "8afb88db6f778678532278d65138756bae229c3f78aa875e904dc0dc1a86d9a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8afb88db6f778678532278d65138756bae229c3f78aa875e904dc0dc1a86d9a0", kill_on_drop: false }` [INFO] [stdout] 8afb88db6f778678532278d65138756bae229c3f78aa875e904dc0dc1a86d9a0 [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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dd98779a2d991991db907f63174d5c34da622315149148b85b1b0dd159b3449a [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" "dd98779a2d991991db907f63174d5c34da622315149148b85b1b0dd159b3449a", kill_on_drop: false }` [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | #[macro_use] extern crate gfx_shader_watch; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/orbitbody/render.rs:60:17 [INFO] [stderr] | [INFO] [stderr] 60 | const BX: f64 = (6.0 / (2.0 * ROOT3)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: taking a mutable reference to a `const` item [INFO] [stderr] --> src/orbitbody/render.rs:108:29 [INFO] [stderr] | [INFO] [stderr] 108 | for vert in &mut ORBIT_BODY_VERTICES { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stderr] = note: each usage of a `const` item creates a new temporary [INFO] [stderr] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stderr] note: mutable reference created due to call to this method [INFO] [stderr] note: `const` item defined here [INFO] [stderr] --> src/orbitbody/render.rs:62:1 [INFO] [stderr] | [INFO] [stderr] 62 | / const ORBIT_BODY_VERTICES: [OrbitBodyVertex; 3] = [ [INFO] [stderr] 63 | | OrbitBodyVertex{ position: [0.0, 2.0], local_idx: 0 }, [INFO] [stderr] 64 | | OrbitBodyVertex{ position: [-BX as f32, -1.0], local_idx: 0 }, [INFO] [stderr] 65 | | OrbitBodyVertex{ position: [BX as f32, -1.0], local_idx: 0 }]; [INFO] [stderr] | |__________________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/compute.rs:172:22 [INFO] [stderr] | [INFO] [stderr] 172 | pub fn compute_state(mut state: &mut State, tasks: &mut Tasks, delta: f64) { [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: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/prototype_orbit-816e3ae1b5de4b53 [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test ease::ease_test::generic_32 ... ok [INFO] [stdout] test ease::ease_test::generic_64 ... ok [INFO] [stdout] test ease::ease_test::linear_32 ... ok [INFO] [stdout] test ease::ease_test::linear_64 ... ok [INFO] [stdout] test orbitcurve::orbitcurve_compute::remove_oldest_plots ... ok [INFO] [stdout] test orbitcurve::orbitcurve_compute::with_minimum_plot_distance ... ok [INFO] [stdout] test state::state_test::screen_to_world ... ok [INFO] [stdout] test state::state_test::screen_to_world_zoom_1 ... ok [INFO] [stdout] test state::state_test::visible_world_range ... ok [INFO] [stdout] test state::state_test::screen_to_world_zoom_1_aspect_1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dd98779a2d991991db907f63174d5c34da622315149148b85b1b0dd159b3449a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd98779a2d991991db907f63174d5c34da622315149148b85b1b0dd159b3449a", kill_on_drop: false }` [INFO] [stdout] dd98779a2d991991db907f63174d5c34da622315149148b85b1b0dd159b3449a