[INFO] cloning repository https://github.com/burbokop/lgh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/burbokop/lgh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fburbokop%2Flgh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fburbokop%2Flgh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a619039a83d4c939f199d61ac07ba91de054e2b [INFO] testing burbokop/lgh against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fburbokop%2Flgh" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/burbokop/lgh on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/burbokop/lgh [INFO] finished tweaking git repo https://github.com/burbokop/lgh [INFO] tweaked toml for git repo https://github.com/burbokop/lgh written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/burbokop/lgh already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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] [stderr] Downloaded vecmat v0.7.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", 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] 0a67e20f586f35c8ee191c4fb464b2f15efb668253dc830d782d47d9dae49ee6 [INFO] running `Command { std: "docker" "start" "-a" "0a67e20f586f35c8ee191c4fb464b2f15efb668253dc830d782d47d9dae49ee6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a67e20f586f35c8ee191c4fb464b2f15efb668253dc830d782d47d9dae49ee6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a67e20f586f35c8ee191c4fb464b2f15efb668253dc830d782d47d9dae49ee6", kill_on_drop: false }` [INFO] [stdout] 0a67e20f586f35c8ee191c4fb464b2f15efb668253dc830d782d47d9dae49ee6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] 2ac612ca8923ec539ad2a1ce304169ab7b1225b9b42b5ec99b9b82271329b628 [INFO] running `Command { std: "docker" "start" "-a" "2ac612ca8923ec539ad2a1ce304169ab7b1225b9b42b5ec99b9b82271329b628", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling sdl2 v0.35.2 [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 itertools v0.10.3 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling vecmat v0.7.7 [INFO] [stderr] Compiling lgh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fleet::Fleet` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use fleet::Fleet; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scene::Scene` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use scene::Scene; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RenderTarget` [INFO] [stdout] --> src/fleet.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use sdl2::{render::{RenderTarget, Canvas}, gfx::primitives::DrawRenderer, event::Event, pixels::Color, mouse::MouseButton, ttf::Font, vid... [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::Dot` [INFO] [stdout] --> src/fleet.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use vecmat::{Vector, Complex, prelude::Dot}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::gfx` [INFO] [stdout] --> src/fleet.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use sdl2::gfx; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Weak` [INFO] [stdout] --> src/scene.rs:2:32 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{ops::Deref, rc::{Rc, Weak}, borrow::BorrowMut, cell::{RefCell, RefMut, Ref}, os::unix::prelude::CommandExt}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RenderTarget` [INFO] [stdout] --> src/scene.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::{render::{Canvas, RenderTarget}, event::Event, mouse::MouseButton, video::Window, ttf::Font}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/scenario.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Formation`, `Rotation` [INFO] [stdout] --> src/scenario.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{scene::Scene, fleet::{Fleet, Rotation, Formation}, admiral::Admiral, side::Side}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rect::Rect` [INFO] [stdout] --> src/graphics.rs:1:44 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::{render::{RenderTarget, Canvas}, rect::Rect, gfx::primitives::DrawRenderer, pixels::Color}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::gfx` [INFO] [stdout] --> src/graphics.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sdl2::gfx; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> src/side.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{rc::Rc, cell::{RefCell, Ref}, convert::identity, borrow::BorrowMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PixelFormat` [INFO] [stdout] --> src/math.rs:1:54 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2::{gfx::primitives::ToColor, pixels::{Color, PixelFormat, PixelFormatEnum}}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/main.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | 'running: loop { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::BorrowMut` [INFO] [stdout] --> src/scene.rs:2:39 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{ops::Deref, rc::{Rc, Weak}, borrow::BorrowMut, cell::{RefCell, RefMut, Ref}, os::unix::prelude::CommandExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `os::unix::prelude::CommandExt` [INFO] [stdout] --> src/scene.rs:2:88 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{ops::Deref, rc::{Rc, Weak}, borrow::BorrowMut, cell::{RefCell, RefMut, Ref}, os::unix::prelude::CommandExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::distributions::uniform::SampleBorrow` [INFO] [stdout] --> src/scene.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::distributions::uniform::SampleBorrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::distributions::uniform::SampleBorrow` [INFO] [stdout] --> src/side.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rand::distributions::uniform::SampleBorrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `texture_creator` [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let texture_creator = canvas.texture_creator(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_texture_creator` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/fleet.rs:49:29 [INFO] [stdout] | [INFO] [stdout] 49 | let w = Rc::downgrade(&c); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contrast_side_color` [INFO] [stdout] --> src/fleet.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | let contrast_side_color = contrast_color(side_color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contrast_side_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/fleet.rs:217:58 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn paint(&mut self, canvas: &mut Canvas, scene: &Scene, font: &Font, selected: bool) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/fleet.rs:335:42 [INFO] [stdout] | [INFO] [stdout] 335 | Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/fleet.rs:335:53 [INFO] [stdout] | [INFO] [stdout] 335 | Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `which` [INFO] [stdout] --> src/fleet.rs:335:64 [INFO] [stdout] | [INFO] [stdout] 335 | Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `which: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clicks` [INFO] [stdout] --> src/fleet.rs:335:82 [INFO] [stdout] | [INFO] [stdout] 335 | Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `clicks: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/fleet.rs:347:40 [INFO] [stdout] | [INFO] [stdout] 347 | Event::MouseButtonUp { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/fleet.rs:347:51 [INFO] [stdout] | [INFO] [stdout] 347 | Event::MouseButtonUp { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `which` [INFO] [stdout] --> src/fleet.rs:347:62 [INFO] [stdout] | [INFO] [stdout] 347 | Event::MouseButtonUp { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `which: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_btn` [INFO] [stdout] --> src/fleet.rs:347:69 [INFO] [stdout] | [INFO] [stdout] 347 | Event::MouseButtonUp { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `mouse_btn: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clicks` [INFO] [stdout] --> src/fleet.rs:347:80 [INFO] [stdout] | [INFO] [stdout] 347 | Event::MouseButtonUp { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `clicks: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/fleet.rs:347:88 [INFO] [stdout] | [INFO] [stdout] 347 | Event::MouseButtonUp { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/fleet.rs:347:91 [INFO] [stdout] | [INFO] [stdout] 347 | Event::MouseButtonUp { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `selected` [INFO] [stdout] --> src/fleet.rs:354:45 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn update(&mut self, scene: &Scene, selected: bool) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/scene.rs:109:38 [INFO] [stdout] | [INFO] [stdout] 109 | Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/scene.rs:109:49 [INFO] [stdout] | [INFO] [stdout] 109 | Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `which` [INFO] [stdout] --> src/scene.rs:109:60 [INFO] [stdout] | [INFO] [stdout] 109 | Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `which: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clicks` [INFO] [stdout] --> src/scene.rs:109:78 [INFO] [stdout] | [INFO] [stdout] 109 | Event::MouseButtonDown { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `clicks: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> src/scene.rs:127:36 [INFO] [stdout] | [INFO] [stdout] 127 | Event::MouseButtonUp { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/scene.rs:127:47 [INFO] [stdout] | [INFO] [stdout] 127 | Event::MouseButtonUp { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `which` [INFO] [stdout] --> src/scene.rs:127:58 [INFO] [stdout] | [INFO] [stdout] 127 | Event::MouseButtonUp { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `which: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_btn` [INFO] [stdout] --> src/scene.rs:127:65 [INFO] [stdout] | [INFO] [stdout] 127 | Event::MouseButtonUp { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `mouse_btn: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clicks` [INFO] [stdout] --> src/scene.rs:127:76 [INFO] [stdout] | [INFO] [stdout] 127 | Event::MouseButtonUp { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `clicks: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/scene.rs:127:84 [INFO] [stdout] | [INFO] [stdout] 127 | Event::MouseButtonUp { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/scene.rs:127:87 [INFO] [stdout] | [INFO] [stdout] 127 | Event::MouseButtonUp { timestamp, window_id, which, mouse_btn, clicks, x, y } => { [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `group` [INFO] [stdout] --> src/side.rs:81:34 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn each_group(&mut self, group: &Group, scene: &Scene) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/side.rs:81:49 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn each_group(&mut self, group: &Group, scene: &Scene) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `childs` [INFO] [stdout] --> src/fleet.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub childs: Vec>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Parent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/fleet.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/fleet.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn update(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `target` [INFO] [stdout] --> src/fleet.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | target: Option>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Child` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/fleet.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/fleet.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn update(&mut self, parent: &Parent) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/fleet.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn new(id: String) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Triangle` [INFO] [stdout] --> src/fleet.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | Triangle, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_cos` [INFO] [stdout] --> src/fleet.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn from_cos(cos: f64) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `formation` [INFO] [stdout] --> src/fleet.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | formation: Formation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/admiral.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ByStrength` [INFO] [stdout] --> src/side.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | ByStrength, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MulBoth` [INFO] [stdout] --> src/side.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | MulBoth [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `add_scalar` [INFO] [stdout] --> src/math.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn add_scalar(value: Vector, scalar: f64) -> Vector { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(option_result_contains)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `fireVE` should have a snake case name [INFO] [stdout] --> src/fleet.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | fireVE: MultiFireVE [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `fire_ve` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `eFunction` should have a snake case name [INFO] [stdout] --> src/fleet.rs:130:4 [INFO] [stdout] | [INFO] [stdout] 130 | fn eFunction(x: f64, c: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `e_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 61 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lgh` due to 2 previous errors; 61 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2ac612ca8923ec539ad2a1ce304169ab7b1225b9b42b5ec99b9b82271329b628", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ac612ca8923ec539ad2a1ce304169ab7b1225b9b42b5ec99b9b82271329b628", kill_on_drop: false }` [INFO] [stdout] 2ac612ca8923ec539ad2a1ce304169ab7b1225b9b42b5ec99b9b82271329b628