[INFO] cloning repository https://github.com/ramsaycarslaw/rust-hex-map [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ramsaycarslaw/rust-hex-map" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Framsaycarslaw%2Frust-hex-map", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Framsaycarslaw%2Frust-hex-map'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c569025b733d3e3f693fc89086ee7cc582ab7694 [INFO] building ramsaycarslaw/rust-hex-map against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Framsaycarslaw%2Frust-hex-map" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ramsaycarslaw/rust-hex-map [INFO] finished tweaking git repo https://github.com/ramsaycarslaw/rust-hex-map [INFO] tweaked toml for git repo https://github.com/ramsaycarslaw/rust-hex-map written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ramsaycarslaw/rust-hex-map on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ramsaycarslaw/rust-hex-map 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lyon_path v1.0.5 [INFO] [stderr] Downloaded crevice v0.17.0 [INFO] [stderr] Downloaded rand_xorshift v0.2.0 [INFO] [stderr] Downloaded ordered-float v4.3.0 [INFO] [stderr] Downloaded noise v0.7.0 [INFO] [stderr] Downloaded glyph_brush v0.7.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a710d9be7ea72ec15b739ad8ca1e128e20da2741dac56bd9ae0073541070dbf [INFO] running `Command { std: "docker" "start" "-a" "8a710d9be7ea72ec15b739ad8ca1e128e20da2741dac56bd9ae0073541070dbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a710d9be7ea72ec15b739ad8ca1e128e20da2741dac56bd9ae0073541070dbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a710d9be7ea72ec15b739ad8ca1e128e20da2741dac56bd9ae0073541070dbf", kill_on_drop: false }` [INFO] [stdout] 8a710d9be7ea72ec15b739ad8ca1e128e20da2741dac56bd9ae0073541070dbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e7ddcb5e33e9c682cd9c565835b435b18be60203b66becee48137bf6a592b11 [INFO] running `Command { std: "docker" "start" "-a" "5e7ddcb5e33e9c682cd9c565835b435b18be60203b66becee48137bf6a592b11", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling xml-rs v0.8.22 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling ttf-parser v0.25.0 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling fdeflate v0.3.5 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling rustc-hash v2.0.0 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling png v0.17.14 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling cc v1.1.28 [INFO] [stderr] Compiling euclid v0.22.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling inotify v0.10.2 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling owned_ttf_parser v0.25.0 [INFO] [stderr] Compiling alsa v0.9.1 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling ab_glyph v0.2.29 [INFO] [stderr] Compiling ordered-float v4.3.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling lyon_geom v1.0.5 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling gilrs-core v0.5.15 [INFO] [stderr] Compiling glyph_brush_layout v0.2.4 [INFO] [stderr] Compiling glyph_brush_draw_cache v0.1.6 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling lyon_path v1.0.5 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling lyon_tessellation v1.0.15 [INFO] [stderr] Compiling lyon_algorithms v1.0.4 [INFO] [stderr] Compiling gilrs v0.10.10 [INFO] [stderr] Compiling crevice-derive v0.10.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling bytemuck_derive v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling bytemuck v1.18.0 [INFO] [stderr] Compiling lyon v1.0.1 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling naga v0.12.3 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crevice v0.13.0 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling crevice v0.17.0 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling glyph_brush v0.7.10 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling rodio v0.17.3 [INFO] [stderr] Compiling noise v0.7.0 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling wgpu-hal v0.16.2 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling wgpu-core v0.16.1 [INFO] [stderr] Compiling skeptic v0.13.7 [INFO] [stderr] Compiling ggez v0.9.3 [INFO] [stderr] Compiling wgpu v0.16.3 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stderr] Compiling hex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `KeyInput` [INFO] [stdout] --> src/main.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use ggez::input::keyboard::{KeyInput, KeyCode}; [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: `rand::Rng` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::default` [INFO] [stdout] --> src/hexagon.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::default; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics::Canvas` [INFO] [stdout] --> src/hexagon.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics::Canvas; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context`, `GameResult`, and `graphics::Color` [INFO] [stdout] --> src/hexagon.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::{graphics, mint::Point2, Context, GameResult, graphics::Color}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:158:57 [INFO] [stdout] | [INFO] [stdout] 158 | fn mouse_wheel_event(&mut self, _ctx: &mut Context, x: f32, y: f32) -> GameResult{ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 158 | fn mouse_wheel_event(&mut self, _ctx: &mut Context, _x: f32, y: f32) -> GameResult{ [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `FORESHORTENING_FACTOR` [INFO] [stdout] | [INFO] [stdout] 158 - fn mouse_wheel_event(&mut self, _ctx: &mut Context, x: f32, y: f32) -> GameResult{ [INFO] [stdout] 158 + fn mouse_wheel_event(&mut self, _ctx: &mut Context, FORESHORTENING_FACTOR: f32, y: f32) -> GameResult{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_resizable` is never read [INFO] [stdout] --> src/main.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct WindowSettings { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | is_resizable: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `friction` and `screen_coordinates` are never read [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 57 | struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 66 | friction: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 67 | screen_coordinates: Point2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cross_product` is never used [INFO] [stdout] --> src/hexagon.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn cross_product(a: Point2, b: Point2) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/hexagon.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Hexagon { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 11 | pub corners: Vec>, [INFO] [stdout] 12 | pub color: graphics::Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: noise v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "5e7ddcb5e33e9c682cd9c565835b435b18be60203b66becee48137bf6a592b11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e7ddcb5e33e9c682cd9c565835b435b18be60203b66becee48137bf6a592b11", kill_on_drop: false }` [INFO] [stdout] 5e7ddcb5e33e9c682cd9c565835b435b18be60203b66becee48137bf6a592b11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f784b795e5c40a87fae88ea29aab7ff3cc1b03107862075f18a048e31114ed6 [INFO] running `Command { std: "docker" "start" "-a" "9f784b795e5c40a87fae88ea29aab7ff3cc1b03107862075f18a048e31114ed6", kill_on_drop: false }` [INFO] [stderr] Compiling hex v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `KeyInput` [INFO] [stdout] --> src/main.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use ggez::input::keyboard::{KeyInput, KeyCode}; [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: `rand::Rng` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rand::Rng; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::default` [INFO] [stdout] --> src/hexagon.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::default; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::graphics::Canvas` [INFO] [stdout] --> src/hexagon.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::graphics::Canvas; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context`, `GameResult`, and `graphics::Color` [INFO] [stdout] --> src/hexagon.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::{graphics, mint::Point2, Context, GameResult, graphics::Color}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:158:57 [INFO] [stdout] | [INFO] [stdout] 158 | fn mouse_wheel_event(&mut self, _ctx: &mut Context, x: f32, y: f32) -> GameResult{ [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 158 | fn mouse_wheel_event(&mut self, _ctx: &mut Context, _x: f32, y: f32) -> GameResult{ [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `FORESHORTENING_FACTOR` [INFO] [stdout] | [INFO] [stdout] 158 - fn mouse_wheel_event(&mut self, _ctx: &mut Context, x: f32, y: f32) -> GameResult{ [INFO] [stdout] 158 + fn mouse_wheel_event(&mut self, _ctx: &mut Context, FORESHORTENING_FACTOR: f32, y: f32) -> GameResult{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_resizable` is never read [INFO] [stdout] --> src/main.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 51 | struct WindowSettings { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 54 | is_resizable: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `friction` and `screen_coordinates` are never read [INFO] [stdout] --> src/main.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 57 | struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 66 | friction: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 67 | screen_coordinates: Point2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cross_product` is never used [INFO] [stdout] --> src/hexagon.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn cross_product(a: Point2, b: Point2) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color` is never read [INFO] [stdout] --> src/hexagon.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Hexagon { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 11 | pub corners: Vec>, [INFO] [stdout] 12 | pub color: graphics::Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.05s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: noise v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "9f784b795e5c40a87fae88ea29aab7ff3cc1b03107862075f18a048e31114ed6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f784b795e5c40a87fae88ea29aab7ff3cc1b03107862075f18a048e31114ed6", kill_on_drop: false }` [INFO] [stdout] 9f784b795e5c40a87fae88ea29aab7ff3cc1b03107862075f18a048e31114ed6