[INFO] cloning repository https://github.com/superhorse622/Rust-Snek [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/superhorse622/Rust-Snek" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuperhorse622%2FRust-Snek", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuperhorse622%2FRust-Snek'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a9603b718a658e10e42ba43ce1f38a7dd882901 [INFO] building superhorse622/Rust-Snek against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuperhorse622%2FRust-Snek" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/superhorse622/Rust-Snek [INFO] finished tweaking git repo https://github.com/superhorse622/Rust-Snek [INFO] tweaked toml for git repo https://github.com/superhorse622/Rust-Snek written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/superhorse622/Rust-Snek on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/superhorse622/Rust-Snek 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mint v0.5.8 [INFO] [stderr] Downloaded xdg v2.4.0 [INFO] [stderr] Downloaded dirs v3.0.2 [INFO] [stderr] Downloaded old_school_gfx_glutin_ext v0.27.0 [INFO] [stderr] Downloaded oboe v0.4.5 [INFO] [stderr] Downloaded clang-sys v1.3.0 [INFO] [stderr] Downloaded ab_glyph v0.2.13 [INFO] [stderr] Downloaded twox-hash v1.6.2 [INFO] [stderr] Downloaded directories v3.0.2 [INFO] [stderr] Downloaded gfx v0.18.2 [INFO] [stderr] Downloaded gilrs-core v0.3.2 [INFO] [stderr] Downloaded combine v4.6.3 [INFO] [stderr] Downloaded darling_core v0.13.1 [INFO] [stderr] Downloaded rayon-core v1.9.1 [INFO] [stderr] Downloaded glyph_brush v0.7.3 [INFO] [stderr] Downloaded proc-macro-crate v1.1.0 [INFO] [stderr] Downloaded num_enum v0.5.6 [INFO] [stderr] Downloaded rayon v1.5.1 [INFO] [stderr] Downloaded euclid v0.22.6 [INFO] [stderr] Downloaded bytecount v0.6.2 [INFO] [stderr] Downloaded cpal v0.13.5 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.6 [INFO] [stderr] Downloaded gilrs v0.8.2 [INFO] [stderr] Downloaded bytemuck v1.7.3 [INFO] [stderr] Downloaded ttf-parser v0.14.0 [INFO] [stderr] Downloaded owned_ttf_parser v0.14.0 [INFO] [stderr] Downloaded bindgen v0.56.0 [INFO] [stderr] Downloaded coreaudio-sys v0.2.9 [INFO] [stderr] Downloaded pest v2.1.3 [INFO] [stderr] Downloaded cargo_metadata v0.12.3 [INFO] [stderr] Downloaded pulldown-cmark v0.8.0 [INFO] [stderr] Downloaded skeptic v0.13.6 [INFO] [stderr] Downloaded crossbeam-queue v0.3.3 [INFO] [stderr] Downloaded mio-misc v1.2.2 [INFO] [stderr] Downloaded raw-window-handle v0.4.2 [INFO] [stderr] Downloaded weezl v0.1.5 [INFO] [stderr] Downloaded lyon_geom v0.17.6 [INFO] [stderr] Downloaded darling v0.13.1 [INFO] [stderr] Downloaded ndk-glue v0.6.0 [INFO] [stderr] Downloaded hound v3.4.0 [INFO] [stderr] Downloaded dirs-sys v0.3.6 [INFO] [stderr] Downloaded libc v0.2.116 [INFO] [stderr] Downloaded ordered-float v2.10.0 [INFO] [stderr] Downloaded gif v0.11.3 [INFO] [stderr] Downloaded num_enum_derive v0.5.6 [INFO] [stderr] Downloaded ucd-trie v0.1.3 [INFO] [stderr] Downloaded crossbeam-utils v0.8.6 [INFO] [stderr] Downloaded ggez v0.7.0 [INFO] [stderr] Downloaded glam v0.20.2 [INFO] [stderr] Downloaded darling_macro v0.13.1 [INFO] [stderr] Downloaded nom v7.1.0 [INFO] [stderr] Downloaded crc32fast v1.3.1 [INFO] [stderr] Downloaded x11-dl v2.19.1 [INFO] [stderr] Downloaded zip v0.5.13 [INFO] [stderr] Downloaded rodio v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b02e86567cb10e184a126f3fc9e3bdec620be8bb4ff308b0652261578c739a9 [INFO] running `Command { std: "docker" "start" "-a" "2b02e86567cb10e184a126f3fc9e3bdec620be8bb4ff308b0652261578c739a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b02e86567cb10e184a126f3fc9e3bdec620be8bb4ff308b0652261578c739a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b02e86567cb10e184a126f3fc9e3bdec620be8bb4ff308b0652261578c739a9", kill_on_drop: false }` [INFO] [stdout] 2b02e86567cb10e184a126f3fc9e3bdec620be8bb4ff308b0652261578c739a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79b7deaed052c3140f4b0348d7a97e19cfe1a585e4e86be9170cece87c727ac5 [INFO] running `Command { std: "docker" "start" "-a" "79b7deaed052c3140f4b0348d7a97e19cfe1a585e4e86be9170cece87c727ac5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.3 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling euclid v0.22.6 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling ttf-parser v0.14.0 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling crc32fast v1.3.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling lyon_geom v0.17.6 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling xdg v2.4.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling owned_ttf_parser v0.14.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling mio-misc v1.2.2 [INFO] [stderr] Compiling ab_glyph v0.2.13 [INFO] [stderr] Compiling lyon_path v0.17.7 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling cpal v0.13.5 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling cargo_metadata v0.12.3 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling alsa v0.6.0 [INFO] [stderr] Compiling sid v0.6.1 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling float_next_after v0.1.5 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling lyon_tessellation v0.17.10 [INFO] [stderr] Compiling skeptic v0.13.6 [INFO] [stderr] Compiling gilrs-core v0.3.2 [INFO] [stderr] Compiling glyph_brush_layout v0.2.3 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling lyon_algorithms v0.17.7 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling twox-hash v1.6.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling ggez v0.7.0 [INFO] [stderr] Compiling minimp3 v0.5.1 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling mint v0.5.8 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling glam v0.20.2 [INFO] [stderr] Compiling gilrs v0.8.2 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling lyon v0.17.10 [INFO] [stderr] Compiling glyph_brush_draw_cache v0.1.5 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling glyph_brush v0.7.3 [INFO] [stderr] Compiling directories v3.0.2 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Compiling rodio v0.14.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling glutin v0.27.0 [INFO] [stderr] Compiling old_school_gfx_glutin_ext v0.27.0 [INFO] [stderr] Compiling snek v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let mut rand_index = rand::thread_rng().gen_range(0..6); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `center` and `side` are never read [INFO] [stdout] --> src/hexagon.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Hexagon { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 43 | pub center: Point2, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | side: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | graphics::set_screen_coordinates(&mut ctx, Rect::new(-screen, -screen, screen * 2.0, screen * 2.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 205 | let _ = graphics::set_screen_coordinates(&mut ctx, Rect::new(-screen, -screen, screen * 2.0, screen * 2.0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "79b7deaed052c3140f4b0348d7a97e19cfe1a585e4e86be9170cece87c727ac5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79b7deaed052c3140f4b0348d7a97e19cfe1a585e4e86be9170cece87c727ac5", kill_on_drop: false }` [INFO] [stdout] 79b7deaed052c3140f4b0348d7a97e19cfe1a585e4e86be9170cece87c727ac5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09a07fab36a8b39a01e5a802c03dbfb7ab861d542d78dd7d90609a415933bd20 [INFO] running `Command { std: "docker" "start" "-a" "09a07fab36a8b39a01e5a802c03dbfb7ab861d542d78dd7d90609a415933bd20", kill_on_drop: false }` [INFO] [stderr] Compiling snek v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let mut rand_index = rand::thread_rng().gen_range(0..6); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `center` and `side` are never read [INFO] [stdout] --> src/hexagon.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct Hexagon { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 43 | pub center: Point2, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | side: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 205 | graphics::set_screen_coordinates(&mut ctx, Rect::new(-screen, -screen, screen * 2.0, screen * 2.0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 205 | let _ = graphics::set_screen_coordinates(&mut ctx, Rect::new(-screen, -screen, screen * 2.0, screen * 2.0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.67s [INFO] running `Command { std: "docker" "inspect" "09a07fab36a8b39a01e5a802c03dbfb7ab861d542d78dd7d90609a415933bd20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09a07fab36a8b39a01e5a802c03dbfb7ab861d542d78dd7d90609a415933bd20", kill_on_drop: false }` [INFO] [stdout] 09a07fab36a8b39a01e5a802c03dbfb7ab861d542d78dd7d90609a415933bd20