[INFO] cloning repository https://github.com/fkaa/curve_fit_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fkaa/curve_fit_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffkaa%2Fcurve_fit_test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffkaa%2Fcurve_fit_test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 50a07aa3291b48aebbf69d7c18dfe9e7fa8f60b0 [INFO] checking fkaa/curve_fit_test against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffkaa%2Fcurve_fit_test" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fkaa/curve_fit_test on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fkaa/curve_fit_test [INFO] finished tweaking git repo https://github.com/fkaa/curve_fit_test [INFO] tweaked toml for git repo https://github.com/fkaa/curve_fit_test written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/fkaa/curve_fit_test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30131e43caa3d7a3d5c8943d08173b5001d007e2c5ed9d87ddee3a3cbf5074ae [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" "30131e43caa3d7a3d5c8943d08173b5001d007e2c5ed9d87ddee3a3cbf5074ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30131e43caa3d7a3d5c8943d08173b5001d007e2c5ed9d87ddee3a3cbf5074ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30131e43caa3d7a3d5c8943d08173b5001d007e2c5ed9d87ddee3a3cbf5074ae", kill_on_drop: false }` [INFO] [stdout] 30131e43caa3d7a3d5c8943d08173b5001d007e2c5ed9d87ddee3a3cbf5074ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9088c9e7cc6d243bdc2ff92efef6a22433a0ac7b285a0a67c8778dd43fa5693e [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" "9088c9e7cc6d243bdc2ff92efef6a22433a0ac7b285a0a67c8778dd43fa5693e", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling libc v0.2.46 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling khronos_api v3.0.0 [INFO] [stderr] Compiling nix v0.12.0 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking downcast-rs v1.0.3 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking rect_packer v0.2.1 [INFO] [stderr] Checking unicode-segmentation v1.2.1 [INFO] [stderr] Compiling wayland-scanner v0.21.10 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.7 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking walkdir v2.2.7 [INFO] [stderr] Checking smallvec v0.6.7 [INFO] [stderr] Checking stb_truetype v0.2.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.4 [INFO] [stderr] Compiling cmake v0.1.35 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Checking rand_os v0.1.1 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking dirs v1.0.4 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling wayland-client v0.21.10 [INFO] [stderr] Compiling wayland-protocols v0.21.10 [INFO] [stderr] Checking ordered-float v1.0.1 [INFO] [stderr] Checking approx v0.3.1 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking euclid v0.19.4 [INFO] [stderr] Checking freetype v0.4.1 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Checking wayland-sys v0.21.10 [INFO] [stderr] Checking rusttype v0.7.3 [INFO] [stderr] Checking servo-fontconfig v0.4.0 [INFO] [stderr] Checking lyon_geom v0.12.2 [INFO] [stderr] Checking andrew v0.1.4 [INFO] [stderr] Checking lyon_path v0.12.0 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking font-kit v0.1.0 (https://github.com/fkaa/font-kit/?branch=freetype-fix#c0ec9813) [INFO] [stderr] Checking rg v0.1.0 (https://github.com/fkaa/rg/?rev=feaea7928bf4f76cf94b4a744d1a5ee02d24901d#feaea792) [INFO] [stderr] Checking wayland-commons v0.21.10 [INFO] [stderr] Checking smithay-client-toolkit v0.4.4 [INFO] [stderr] Checking winit v0.18.1 [INFO] [stderr] Checking curve_fit_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:249:52 [INFO] [stdout] | [INFO] [stdout] 249 | glutin::Event::WindowEvent{ event, window_id } => match event { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/main.rs:278:25 [INFO] [stdout] | [INFO] [stdout] 278 | device_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:279:25 [INFO] [stdout] | [INFO] [stdout] 279 | state, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/main.rs:280:25 [INFO] [stdout] | [INFO] [stdout] 280 | button, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `button: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiers` [INFO] [stdout] --> src/main.rs:281:25 [INFO] [stdout] | [INFO] [stdout] 281 | modifiers [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `modifiers: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_pos` [INFO] [stdout] --> src/main.rs:287:29 [INFO] [stdout] | [INFO] [stdout] 287 | let new_pos = position.to_physical(dpi_factor); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errors` [INFO] [stdout] --> src/main.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 392 | let errors = fitter.errors(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:403:17 [INFO] [stdout] | [INFO] [stdout] 403 | let a = n[i - 1]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/main.rs:406:17 [INFO] [stdout] | [INFO] [stdout] 406 | let d = n[i + 2]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sz` [INFO] [stdout] --> src/main.rs:412:17 [INFO] [stdout] | [INFO] [stdout] 412 | let sz = 4f32; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tz` [INFO] [stdout] --> src/main.rs:427:21 [INFO] [stdout] | [INFO] [stdout] 427 | let tz = (t - t1) / (t2 - t1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | .filter(|&(i, e)| e > threshold) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | .map(|(i, e)| i) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:725:46 [INFO] [stdout] | [INFO] [stdout] 725 | VariableBinding::Uniform(name, id) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/main.rs:725:52 [INFO] [stdout] | [INFO] [stdout] 725 | VariableBinding::Uniform(name, id) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | let mut wnd = glutin::GlWindow::new(winit_window, context, &ev_loop).unwrap(); [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/main.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | let mut renderer = RgOpenGlRenderer::new(width as f32, height as f32).unwrap(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | let mut list = &mut cxt.draw_list; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:249:52 [INFO] [stdout] | [INFO] [stdout] 249 | glutin::Event::WindowEvent{ event, window_id } => match event { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `device_id` [INFO] [stdout] --> src/main.rs:278:25 [INFO] [stdout] | [INFO] [stdout] 278 | device_id, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:279:25 [INFO] [stdout] | [INFO] [stdout] 279 | state, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/main.rs:280:25 [INFO] [stdout] | [INFO] [stdout] 280 | button, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `button: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifiers` [INFO] [stdout] --> src/main.rs:281:25 [INFO] [stdout] | [INFO] [stdout] 281 | modifiers [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `modifiers: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_pos` [INFO] [stdout] --> src/main.rs:287:29 [INFO] [stdout] | [INFO] [stdout] 287 | let new_pos = position.to_physical(dpi_factor); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `errors` [INFO] [stdout] --> src/main.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 392 | let errors = fitter.errors(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/main.rs:403:17 [INFO] [stdout] | [INFO] [stdout] 403 | let a = n[i - 1]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/main.rs:406:17 [INFO] [stdout] | [INFO] [stdout] 406 | let d = n[i + 2]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sz` [INFO] [stdout] --> src/main.rs:412:17 [INFO] [stdout] | [INFO] [stdout] 412 | let sz = 4f32; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tz` [INFO] [stdout] --> src/main.rs:427:21 [INFO] [stdout] | [INFO] [stdout] 427 | let tz = (t - t1) / (t2 - t1); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | .filter(|&(i, e)| e > threshold) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | .map(|(i, e)| i) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:725:46 [INFO] [stdout] | [INFO] [stdout] 725 | VariableBinding::Uniform(name, id) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/main.rs:725:52 [INFO] [stdout] | [INFO] [stdout] 725 | VariableBinding::Uniform(name, id) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CSpline` [INFO] [stdout] --> src/main.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | struct CSpline { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `catmull_rom` [INFO] [stdout] --> src/main.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn catmull_rom(p0: f32, p1: f32, p2: f32, p3: f32, t: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_data` [INFO] [stdout] --> src/main.rs:811:8 [INFO] [stdout] | [INFO] [stdout] 811 | fn with_data( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `projection` [INFO] [stdout] --> src/main.rs:887:5 [INFO] [stdout] | [INFO] [stdout] 887 | projection: [f32; 16], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Vertex` [INFO] [stdout] --> src/main.rs:890:8 [INFO] [stdout] | [INFO] [stdout] 890 | struct Vertex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `texture` [INFO] [stdout] --> src/main.rs:896:5 [INFO] [stdout] | [INFO] [stdout] 896 | texture: Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | let mut wnd = glutin::GlWindow::new(winit_window, context, &ev_loop).unwrap(); [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/main.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | let mut renderer = RgOpenGlRenderer::new(width as f32, height as f32).unwrap(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | let mut list = &mut cxt.draw_list; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CSpline` [INFO] [stdout] --> src/main.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | struct CSpline { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `catmull_rom` [INFO] [stdout] --> src/main.rs:194:4 [INFO] [stdout] | [INFO] [stdout] 194 | fn catmull_rom(p0: f32, p1: f32, p2: f32, p3: f32, t: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_data` [INFO] [stdout] --> src/main.rs:811:8 [INFO] [stdout] | [INFO] [stdout] 811 | fn with_data( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `projection` [INFO] [stdout] --> src/main.rs:887:5 [INFO] [stdout] | [INFO] [stdout] 887 | projection: [f32; 16], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Vertex` [INFO] [stdout] --> src/main.rs:890:8 [INFO] [stdout] | [INFO] [stdout] 890 | struct Vertex { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `texture` [INFO] [stdout] --> src/main.rs:896:5 [INFO] [stdout] | [INFO] [stdout] 896 | texture: Texture, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 58.53s [INFO] running `Command { std: "docker" "inspect" "9088c9e7cc6d243bdc2ff92efef6a22433a0ac7b285a0a67c8778dd43fa5693e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9088c9e7cc6d243bdc2ff92efef6a22433a0ac7b285a0a67c8778dd43fa5693e", kill_on_drop: false }` [INFO] [stdout] 9088c9e7cc6d243bdc2ff92efef6a22433a0ac7b285a0a67c8778dd43fa5693e