[INFO] cloning repository https://github.com/Dav3xor/solartaxi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dav3xor/solartaxi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDav3xor%2Fsolartaxi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDav3xor%2Fsolartaxi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 721c2a01168778621a05d1d8ccc45064259b4e8f [INFO] checking Dav3xor/solartaxi against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDav3xor%2Fsolartaxi" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Dav3xor/solartaxi [INFO] finished tweaking git repo https://github.com/Dav3xor/solartaxi [INFO] tweaked toml for git repo https://github.com/Dav3xor/solartaxi written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Dav3xor/solartaxi on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Dav3xor/solartaxi 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66f72f5eb9c56271d93d9ceb7de573275a7164db156fb492c9c6b9bc2f0dc10d [INFO] running `Command { std: "docker" "start" "-a" "66f72f5eb9c56271d93d9ceb7de573275a7164db156fb492c9c6b9bc2f0dc10d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66f72f5eb9c56271d93d9ceb7de573275a7164db156fb492c9c6b9bc2f0dc10d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66f72f5eb9c56271d93d9ceb7de573275a7164db156fb492c9c6b9bc2f0dc10d", kill_on_drop: false }` [INFO] [stdout] 66f72f5eb9c56271d93d9ceb7de573275a7164db156fb492c9c6b9bc2f0dc10d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8e291e2814fe27f1ab188d273f4e7d4a2ca80f5656493d6a6c2075be1a0ad12 [INFO] running `Command { std: "docker" "start" "-a" "f8e291e2814fe27f1ab188d273f4e7d4a2ca80f5656493d6a6c2075be1a0ad12", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking instant v0.1.2 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.34 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling glium v0.26.0 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking backtrace v0.3.45 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking winit v0.21.0 [INFO] [stderr] Checking glutin v0.23.0 [INFO] [stderr] Checking solartaxi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/assets.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/gfx.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/assets.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/gfx.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/main.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | style: DoorStyle, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/main.rs:212:23 [INFO] [stdout] | [INFO] [stdout] 212 | style: PaneStyle, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/main.rs:258:19 [INFO] [stdout] | [INFO] [stdout] 258 | style: WindowStyle, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `road_width` [INFO] [stdout] --> src/main.rs:544:17 [INFO] [stdout] | [INFO] [stdout] 544 | let road_width = width_to_angle(20.0, radius); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_road_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `gear_angle` is never read [INFO] [stdout] --> src/main.rs:879:30 [INFO] [stdout] | [INFO] [stdout] 879 | let mut gear_angle = 0.0f32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `foot_angle` is never read [INFO] [stdout] --> src/main.rs:880:30 [INFO] [stdout] | [INFO] [stdout] 880 | let mut foot_angle = 0.0f32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_synthetic` [INFO] [stdout] --> src/main.rs:1508:68 [INFO] [stdout] | [INFO] [stdout] 1508 | glutin::event::WindowEvent::KeyboardInput { input, is_synthetic, .. } => { [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `is_synthetic: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FourPane` and `RoundTop` are never constructed [INFO] [stdout] --> src/main.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 66 | enum WindowStyle { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 67 | Plain, [INFO] [stdout] 68 | FourPane, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 69 | RoundTop, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Double` and `RoundTop` are never constructed [INFO] [stdout] --> src/main.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 72 | enum DoorStyle { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 73 | Plain, [INFO] [stdout] 74 | Double, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 75 | RoundTop, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Tinted` is never constructed [INFO] [stdout] --> src/main.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 77 | enum PaneStyle { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 78 | Plain, [INFO] [stdout] 79 | Tinted [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `velocity`, `mass`, `hills_geometry`, `mountains_geometry`, `sky_geometry`, and `horizon_geometry` are never read [INFO] [stdout] --> src/main.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 82 | struct Planet { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 83 | position: (f32, f32), [INFO] [stdout] 84 | velocity: (f32, f32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 85 | mass: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | hills_geometry: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 90 | mountains_geometry: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | sky_geometry: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 92 | horizon_geometry: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ship_geometry`, `left_gear_geometry`, and `right_gear_geometry` are never read [INFO] [stdout] --> src/main.rs:743:9 [INFO] [stdout] | [INFO] [stdout] 736 | struct PlayerShip { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 743 | ship_geometry: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 744 | exhaust_draw: usize, [INFO] [stdout] 745 | left_gear_geometry: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 746 | right_gear_geometry: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cur_asset` is never read [INFO] [stdout] --> src/assets/asset.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct AssetType { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 14 | cur_asset: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NoOp` is never constructed [INFO] [stdout] --> src/gfx.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 42 | enum GfxCommandTypes { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 45 | NoOp, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GfxCommandTypes` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `noop` and `print` are never used [INFO] [stdout] --> src/gfx.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 90 | impl GfxCommand { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 91 | fn noop() -> GfxCommand { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn print(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/gfx.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn run(&mut self, display: &glium::Display) { [INFO] [stdout] | ----------------------------------------------- move the `impl` block outside of this method `run` [INFO] [stdout] ... [INFO] [stdout] 245 | implement_vertex!(GfxLineVertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `GfxLineVertex` is not local [INFO] [stdout] | `Vertex` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `implement_vertex` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/gfx.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn run(&mut self, display: &glium::Display) { [INFO] [stdout] | ----------------------------------------------- move the `impl` block outside of this method `run` [INFO] [stdout] ... [INFO] [stdout] 249 | implement_vertex!(GfxTriangleVertex, position, color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `GfxTriangleVertex` is not local [INFO] [stdout] | `Vertex` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `implement_vertex` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/main.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | style: DoorStyle, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/main.rs:212:23 [INFO] [stdout] | [INFO] [stdout] 212 | style: PaneStyle, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style` [INFO] [stdout] --> src/main.rs:258:19 [INFO] [stdout] | [INFO] [stdout] 258 | style: WindowStyle, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_style` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `road_width` [INFO] [stdout] --> src/main.rs:544:17 [INFO] [stdout] | [INFO] [stdout] 544 | let road_width = width_to_angle(20.0, radius); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_road_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `gear_angle` is never read [INFO] [stdout] --> src/main.rs:879:30 [INFO] [stdout] | [INFO] [stdout] 879 | let mut gear_angle = 0.0f32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `foot_angle` is never read [INFO] [stdout] --> src/main.rs:880:30 [INFO] [stdout] | [INFO] [stdout] 880 | let mut foot_angle = 0.0f32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_synthetic` [INFO] [stdout] --> src/main.rs:1508:68 [INFO] [stdout] | [INFO] [stdout] 1508 | glutin::event::WindowEvent::KeyboardInput { input, is_synthetic, .. } => { [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `is_synthetic: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FourPane` and `RoundTop` are never constructed [INFO] [stdout] --> src/main.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 66 | enum WindowStyle { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 67 | Plain, [INFO] [stdout] 68 | FourPane, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 69 | RoundTop, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Double` and `RoundTop` are never constructed [INFO] [stdout] --> src/main.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 72 | enum DoorStyle { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 73 | Plain, [INFO] [stdout] 74 | Double, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 75 | RoundTop, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Tinted` is never constructed [INFO] [stdout] --> src/main.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 77 | enum PaneStyle { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 78 | Plain, [INFO] [stdout] 79 | Tinted [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `velocity`, `mass`, `hills_geometry`, `mountains_geometry`, `sky_geometry`, and `horizon_geometry` are never read [INFO] [stdout] --> src/main.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 82 | struct Planet { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 83 | position: (f32, f32), [INFO] [stdout] 84 | velocity: (f32, f32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 85 | mass: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | hills_geometry: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 90 | mountains_geometry: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 91 | sky_geometry: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 92 | horizon_geometry: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ship_geometry`, `left_gear_geometry`, and `right_gear_geometry` are never read [INFO] [stdout] --> src/main.rs:743:9 [INFO] [stdout] | [INFO] [stdout] 736 | struct PlayerShip { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 743 | ship_geometry: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 744 | exhaust_draw: usize, [INFO] [stdout] 745 | left_gear_geometry: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 746 | right_gear_geometry: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cur_asset` is never read [INFO] [stdout] --> src/assets/asset.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct AssetType { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 14 | cur_asset: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NoOp` is never constructed [INFO] [stdout] --> src/gfx.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 42 | enum GfxCommandTypes { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 45 | NoOp, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GfxCommandTypes` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `noop` and `print` are never used [INFO] [stdout] --> src/gfx.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 90 | impl GfxCommand { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 91 | fn noop() -> GfxCommand { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn print(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/gfx.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn run(&mut self, display: &glium::Display) { [INFO] [stdout] | ----------------------------------------------- move the `impl` block outside of this method `run` [INFO] [stdout] ... [INFO] [stdout] 245 | implement_vertex!(GfxLineVertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `GfxLineVertex` is not local [INFO] [stdout] | `Vertex` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `implement_vertex` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/gfx.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn run(&mut self, display: &glium::Display) { [INFO] [stdout] | ----------------------------------------------- move the `impl` block outside of this method `run` [INFO] [stdout] ... [INFO] [stdout] 249 | implement_vertex!(GfxTriangleVertex, position, color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `GfxTriangleVertex` is not local [INFO] [stdout] | `Vertex` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `implement_vertex` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.07s [INFO] running `Command { std: "docker" "inspect" "f8e291e2814fe27f1ab188d273f4e7d4a2ca80f5656493d6a6c2075be1a0ad12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8e291e2814fe27f1ab188d273f4e7d4a2ca80f5656493d6a6c2075be1a0ad12", kill_on_drop: false }` [INFO] [stdout] f8e291e2814fe27f1ab188d273f4e7d4a2ca80f5656493d6a6c2075be1a0ad12