[INFO] cloning repository https://github.com/charliethomson/rycst-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/charliethomson/rycst-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharliethomson%2Frycst-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharliethomson%2Frycst-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae0fec5b60310809c8b6d43926ba8e16115be505 [INFO] checking charliethomson/rycst-rs against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcharliethomson%2Frycst-rs" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/charliethomson/rycst-rs on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/charliethomson/rycst-rs [INFO] finished tweaking git repo https://github.com/charliethomson/rycst-rs [INFO] tweaked toml for git repo https://github.com/charliethomson/rycst-rs written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nalgebra v0.20.0 [INFO] [stderr] Downloaded ncollide2d v0.22.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 99e910d4baa1f1eb2209565fa7a68023b89e4c7577ad0b0a92d83a537fe0eea2 [INFO] running `Command { std: "docker" "start" "-a" "99e910d4baa1f1eb2209565fa7a68023b89e4c7577ad0b0a92d83a537fe0eea2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99e910d4baa1f1eb2209565fa7a68023b89e4c7577ad0b0a92d83a537fe0eea2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99e910d4baa1f1eb2209565fa7a68023b89e4c7577ad0b0a92d83a537fe0eea2", kill_on_drop: false }` [INFO] [stdout] 99e910d4baa1f1eb2209565fa7a68023b89e4c7577ad0b0a92d83a537fe0eea2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 81f4359ee22cb33bb2d47a7ba6022dca01cbbbb88de53129d5e7768d570843f1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "81f4359ee22cb33bb2d47a7ba6022dca01cbbbb88de53129d5e7768d570843f1", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Checking xml-rs v0.8.3 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking xi-unicode v0.2.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Compiling coffee v0.3.2 [INFO] [stderr] Checking slotmap v0.4.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling libloading v0.6.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rayon v1.4.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking gfx_core v0.9.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking stretch v0.2.2 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking backtrace v0.3.52 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking sid v0.5.2 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking alga v0.9.3 [INFO] [stderr] Checking png v0.14.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking glyph_brush_layout v0.1.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking gfx v0.18.2 [INFO] [stderr] Checking nalgebra v0.18.1 [INFO] [stderr] Checking twox-hash v1.5.0 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking glyph_brush v0.6.3 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking nalgebra v0.20.0 [INFO] [stderr] Checking glyph_brush v0.5.4 [INFO] [stderr] Checking gfx_glyph v0.15.0 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking gilrs-core v0.2.6 [INFO] [stderr] Checking euclid v0.19.9 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking gilrs v0.7.4 [INFO] [stderr] Checking lyon_geom v0.12.7 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking lyon_path v0.13.2 [INFO] [stderr] Checking image v0.21.3 [INFO] [stderr] Checking gfx_device_gl v0.16.2 [INFO] [stderr] Checking lyon_tessellation v0.13.5 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.19.5 [INFO] [stderr] Checking glutin v0.20.1 [INFO] [stderr] Checking gfx_window_glutin v0.30.0 [INFO] [stderr] Checking ncollide2d v0.22.0 [INFO] [stderr] Checking rycst-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Mesh`, `Shape` [INFO] [stdout] --> src/map/wall.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Mesh, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | Rectangle, [INFO] [stdout] 5 | Shape, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ButtonState`, `Point`, `Shape`, `ui::Text` [INFO] [stdout] --> src/engine.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | Shape, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | Point, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | ButtonState, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | }, [INFO] [stdout] 21 | ui::Text, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ShapeExt` [INFO] [stdout] --> src/engine.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | render::{ Renderer, ShapeExt }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Wall` [INFO] [stdout] --> src/render/mod.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | map::{ Map, Wall }, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Point as NPoint`, `RayCast` [INFO] [stdout] --> src/render/mod.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | query::{ Ray, RayCast, RayIntersection }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | math::{ Vector, Point as NPoint, Isometry, }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `geometry::UnitComplex` [INFO] [stdout] --> src/render/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | geometry::UnitComplex [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mesh`, `Shape` [INFO] [stdout] --> src/map/wall.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Mesh, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | Rectangle, [INFO] [stdout] 5 | Shape, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ButtonState`, `Point`, `Shape`, `ui::Text` [INFO] [stdout] --> src/engine.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | Shape, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | Point, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | ButtonState, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | }, [INFO] [stdout] 21 | ui::Text, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ShapeExt` [INFO] [stdout] --> src/engine.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | render::{ Renderer, ShapeExt }, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Wall` [INFO] [stdout] --> src/render/mod.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | map::{ Map, Wall }, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Point as NPoint`, `RayCast` [INFO] [stdout] --> src/render/mod.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | query::{ Ray, RayCast, RayIntersection }, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | math::{ Vector, Point as NPoint, Isometry, }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `geometry::UnitComplex` [INFO] [stdout] --> src/render/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | geometry::UnitComplex [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sz` [INFO] [stdout] --> src/map/mod.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(sz: (f32, f32)) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sz` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/engine.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | fn load(window: &Window) -> Task { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/render/mod.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | let (x, y) = map.dims(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/render/mod.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | let (x, y) = map.dims(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sz` [INFO] [stdout] --> src/map/mod.rs:38:16 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(sz: (f32, f32)) -> Self { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sz` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/engine.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | fn load(window: &Window) -> Task { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/render/mod.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | let (x, y) = map.dims(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/render/mod.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | let (x, y) = map.dims(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render/mod.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | let mut ray = self.camera.clone(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render/mod.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | let mut iso = Isometry::rotation(self.angle() - RENDER_FOV / 2.0); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `map_into` [INFO] [stdout] --> src/map/wall.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn map_into(&self, minmax: (i64, i64), rect: &Rectangle) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/map/mod.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(sz: (f32, f32)) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `debug` [INFO] [stdout] --> src/map/mod.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn debug() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_file` [INFO] [stdout] --> src/map/mod.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn from_file>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_wall` [INFO] [stdout] --> src/map/mod.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn push_wall(&mut self, wall: Wall) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_top_down` [INFO] [stdout] --> src/map/mod.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn draw_top_down(&self, window: &Rectangle) -> Mesh { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `polyline_from_shape` [INFO] [stdout] --> src/render/ext.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn polyline_from_shape(shape: Shape) -> Polyline { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_map` [INFO] [stdout] --> src/render/mod.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn with_map(map: Map) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `angle_degrees` [INFO] [stdout] --> src/render/mod.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn angle_degrees(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_degs` [INFO] [stdout] --> src/util.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn to_degs(rad: f32) -> f32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `max_vals_points` [INFO] [stdout] --> src/util.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn max_vals_points(points: &Vec) -> (i64, i64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render/mod.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | let mut ray = self.camera.clone(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render/mod.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | let mut iso = Isometry::rotation(self.angle() - RENDER_FOV / 2.0); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `map_into` [INFO] [stdout] --> src/map/wall.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn map_into(&self, minmax: (i64, i64), rect: &Rectangle) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/map/mod.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(sz: (f32, f32)) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `debug` [INFO] [stdout] --> src/map/mod.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn debug() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_file` [INFO] [stdout] --> src/map/mod.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn from_file>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_wall` [INFO] [stdout] --> src/map/mod.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn push_wall(&mut self, wall: Wall) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_top_down` [INFO] [stdout] --> src/map/mod.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn draw_top_down(&self, window: &Rectangle) -> Mesh { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `polyline_from_shape` [INFO] [stdout] --> src/render/ext.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn polyline_from_shape(shape: Shape) -> Polyline { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_map` [INFO] [stdout] --> src/render/mod.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn with_map(map: Map) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `angle_degrees` [INFO] [stdout] --> src/render/mod.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn angle_degrees(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [optimized + debuginfo] target(s) in 2m 50s [INFO] running `Command { std: "docker" "inspect" "81f4359ee22cb33bb2d47a7ba6022dca01cbbbb88de53129d5e7768d570843f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81f4359ee22cb33bb2d47a7ba6022dca01cbbbb88de53129d5e7768d570843f1", kill_on_drop: false }` [INFO] [stdout] 81f4359ee22cb33bb2d47a7ba6022dca01cbbbb88de53129d5e7768d570843f1