[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 master#84e729a59f216cc64755788a470f165429a731f4 for pr-123737-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDav3xor%2Fsolartaxi" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Dav3xor/solartaxi on toolchain 84e729a59f216cc64755788a470f165429a731f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc1/source/Cargo.toml [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" "+84e729a59f216cc64755788a470f165429a731f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memoffset v0.5.3 [INFO] [stderr] Downloaded ppv-lite86 v0.2.6 [INFO] [stderr] Downloaded smallvec v1.2.0 [INFO] [stderr] Downloaded rand_distr v0.2.2 [INFO] [stderr] Downloaded glutin_wgl_sys v0.1.4 [INFO] [stderr] Downloaded dlib v0.4.1 [INFO] [stderr] Downloaded glutin_egl_sys v0.1.4 [INFO] [stderr] Downloaded glutin_gles2_sys v0.1.4 [INFO] [stderr] Downloaded downcast-rs v1.1.1 [INFO] [stderr] Downloaded instant v0.1.2 [INFO] [stderr] Downloaded glutin_glx_sys v0.1.6 [INFO] [stderr] Downloaded lock_api v0.3.3 [INFO] [stderr] Downloaded rustc-demangle v0.1.16 [INFO] [stderr] Downloaded winit v0.21.0 [INFO] [stderr] Downloaded libc v0.2.67 [INFO] [stderr] Downloaded backtrace-sys v0.1.34 [INFO] [stderr] Downloaded backtrace v0.3.45 [INFO] [stderr] Downloaded glium v0.26.0 [INFO] [stderr] Downloaded winapi v0.3.8 [INFO] [stderr] Downloaded fnv v1.0.6 [INFO] [stderr] Downloaded gl_generator v0.13.1 [INFO] [stderr] Downloaded cocoa v0.19.1 [INFO] [stderr] Downloaded core-graphics v0.17.3 [INFO] [stderr] Downloaded core-video-sys v0.1.3 [INFO] [stderr] Downloaded cloudabi v0.0.3 [INFO] [stderr] Downloaded redox_syscall v0.1.56 [INFO] [stderr] Downloaded parking_lot_core v0.7.0 [INFO] [stderr] Downloaded parking_lot v0.10.0 [INFO] [stderr] Downloaded arrayvec v0.5.1 [INFO] [stderr] Downloaded autocfg v1.0.0 [INFO] [stderr] Downloaded num-traits v0.2.11 [INFO] [stderr] Downloaded byteorder v1.3.4 [INFO] [stderr] Downloaded rusttype v0.8.2 [INFO] [stderr] Downloaded lazycell v1.2.1 [INFO] [stderr] Downloaded log v0.4.8 [INFO] [stderr] Downloaded miow v0.2.1 [INFO] [stderr] Downloaded net2 v0.2.33 [INFO] [stderr] Downloaded mio v0.6.21 [INFO] [stderr] Downloaded xml-rs v0.8.0 [INFO] [stderr] Downloaded cc v1.0.50 [INFO] [stderr] Downloaded libloading v0.5.2 [INFO] [stderr] Downloaded pkg-config v0.3.17 [INFO] [stderr] Downloaded ordered-float v1.0.2 [INFO] [stderr] Downloaded winapi-util v0.1.3 [INFO] [stderr] Downloaded walkdir v2.3.1 [INFO] [stderr] Downloaded calloop v0.4.4 [INFO] [stderr] Downloaded glutin v0.23.0 [INFO] [stderr] Downloaded getrandom v0.1.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cb0db2c32591c532b4fbcca80cddf79ec1e9f7b6f5d59b2e0c97260ceb9dad6 [INFO] running `Command { std: "docker" "start" "-a" "7cb0db2c32591c532b4fbcca80cddf79ec1e9f7b6f5d59b2e0c97260ceb9dad6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cb0db2c32591c532b4fbcca80cddf79ec1e9f7b6f5d59b2e0c97260ceb9dad6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cb0db2c32591c532b4fbcca80cddf79ec1e9f7b6f5d59b2e0c97260ceb9dad6", kill_on_drop: false }` [INFO] [stdout] 7cb0db2c32591c532b4fbcca80cddf79ec1e9f7b6f5d59b2e0c97260ceb9dad6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 246ce12869b7d58b2fe73922f0c86f3c2f63356b525fed725e27cf17a1b03638 [INFO] running `Command { std: "docker" "start" "-a" "246ce12869b7d58b2fe73922f0c86f3c2f63356b525fed725e27cf17a1b03638", 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] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [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] Checking arrayvec v0.5.1 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking instant v0.1.2 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking stb_truetype v0.3.1 [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 rustc_version v0.2.3 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.34 [INFO] [stderr] Compiling glium v0.26.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking rand v0.7.3 [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] Checking backtrace v0.3.45 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [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)]` 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)]` 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)]` 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:17 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `foot_angle` is never read [INFO] [stdout] --> src/main.rs:880:17 [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: `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)]` 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: `is_synthetic` [INFO] [stdout] --> src/main.rs:1508:68 [INFO] [stdout] | [INFO] [stdout] 1508 | glutin::event::WindowEvent::KeyboardInput { input, is_synthetic, .. } => { [INFO] [stdout] | ^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [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:17 [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)]` on by default [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)]` 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: value assigned to `foot_angle` is never read [INFO] [stdout] --> src/main.rs:880:17 [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: 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, they should be avoided as they go against expectation [INFO] [stdout] --> src/gfx.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | implement_vertex!(GfxLineVertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current method `run` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: `#[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, they should be avoided as they go against expectation [INFO] [stdout] --> src/gfx.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | implement_vertex!(GfxTriangleVertex, position, color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current method `run` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 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: `is_synthetic` [INFO] [stdout] --> src/main.rs:1508:68 [INFO] [stdout] | [INFO] [stdout] 1508 | glutin::event::WindowEvent::KeyboardInput { input, is_synthetic, .. } => { [INFO] [stdout] | ^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [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)]` 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, they should be avoided as they go against expectation [INFO] [stdout] --> src/gfx.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | implement_vertex!(GfxLineVertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current method `run` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: `#[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, they should be avoided as they go against expectation [INFO] [stdout] --> src/gfx.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | implement_vertex!(GfxTriangleVertex, position, color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current method `run` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 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: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.27s [INFO] running `Command { std: "docker" "inspect" "246ce12869b7d58b2fe73922f0c86f3c2f63356b525fed725e27cf17a1b03638", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "246ce12869b7d58b2fe73922f0c86f3c2f63356b525fed725e27cf17a1b03638", kill_on_drop: false }` [INFO] [stdout] 246ce12869b7d58b2fe73922f0c86f3c2f63356b525fed725e27cf17a1b03638 [INFO] checking Dav3xor/solartaxi against try#8d9ad7790f77ffaa434059a58807949d4583c045 for pr-123737-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDav3xor%2Fsolartaxi" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Dav3xor/solartaxi on toolchain 8d9ad7790f77ffaa434059a58807949d4583c045 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d9ad7790f77ffaa434059a58807949d4583c045" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc2/source/Cargo.toml [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" "+8d9ad7790f77ffaa434059a58807949d4583c045" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8d9ad7790f77ffaa434059a58807949d4583c045" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85f3bc45d4e2842070138ce43dbf1a28d82cff7634853e10ecb1fbaad26946ed [INFO] running `Command { std: "docker" "start" "-a" "85f3bc45d4e2842070138ce43dbf1a28d82cff7634853e10ecb1fbaad26946ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85f3bc45d4e2842070138ce43dbf1a28d82cff7634853e10ecb1fbaad26946ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85f3bc45d4e2842070138ce43dbf1a28d82cff7634853e10ecb1fbaad26946ed", kill_on_drop: false }` [INFO] [stdout] 85f3bc45d4e2842070138ce43dbf1a28d82cff7634853e10ecb1fbaad26946ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8d9ad7790f77ffaa434059a58807949d4583c045" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b2e30ddb41ab3d9c9e77cc923ceca5ea92a8e2ab2cbeeab035bd50e4fd3e2ed [INFO] running `Command { std: "docker" "start" "-a" "4b2e30ddb41ab3d9c9e77cc923ceca5ea92a8e2ab2cbeeab035bd50e4fd3e2ed", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling autocfg v1.0.0 [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 maybe-uninit v2.0.0 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking instant v0.1.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.34 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [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 approx v0.3.2 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking backtrace v0.3.45 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [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)]` 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)]` 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)]` 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:17 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `foot_angle` is never read [INFO] [stdout] --> src/main.rs:880:17 [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] | ^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [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)]` 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: 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)]` 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: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/gfx.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | implement_vertex!(GfxLineVertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current method `run` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: `#[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, they should be avoided as they go against expectation [INFO] [stdout] --> src/gfx.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | implement_vertex!(GfxTriangleVertex, position, color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current method `run` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 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: `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:17 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `foot_angle` is never read [INFO] [stdout] --> src/main.rs:880:17 [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: 19 warnings emitted [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] | ^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: try removing the field [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)]` 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, they should be avoided as they go against expectation [INFO] [stdout] --> src/gfx.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | implement_vertex!(GfxLineVertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current method `run` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: `#[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, they should be avoided as they go against expectation [INFO] [stdout] --> src/gfx.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | implement_vertex!(GfxTriangleVertex, position, color); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current method `run` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 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: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.78s [INFO] running `Command { std: "docker" "inspect" "4b2e30ddb41ab3d9c9e77cc923ceca5ea92a8e2ab2cbeeab035bd50e4fd3e2ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b2e30ddb41ab3d9c9e77cc923ceca5ea92a8e2ab2cbeeab035bd50e4fd3e2ed", kill_on_drop: false }` [INFO] [stdout] 4b2e30ddb41ab3d9c9e77cc923ceca5ea92a8e2ab2cbeeab035bd50e4fd3e2ed