[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] testing fkaa/curve_fit_test against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffkaa%2Fcurve_fit_test" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fkaa/curve_fit_test on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-8/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" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf9a335e152310c94381d47ffae82ce63431fbe7b0bbfb440544219c83aa60e7 [INFO] running `Command { std: "docker" "start" "-a" "bf9a335e152310c94381d47ffae82ce63431fbe7b0bbfb440544219c83aa60e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf9a335e152310c94381d47ffae82ce63431fbe7b0bbfb440544219c83aa60e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf9a335e152310c94381d47ffae82ce63431fbe7b0bbfb440544219c83aa60e7", kill_on_drop: false }` [INFO] [stdout] bf9a335e152310c94381d47ffae82ce63431fbe7b0bbfb440544219c83aa60e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a403e7962972feb9970e5588cfc502d86b22b05a43440728f555e0493c8d754c [INFO] running `Command { std: "docker" "start" "-a" "a403e7962972feb9970e5588cfc502d86b22b05a43440728f555e0493c8d754c", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling libc v0.2.46 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling autocfg v0.1.1 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling khronos_api v3.0.0 [INFO] [stderr] Compiling nix v0.12.0 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling downcast-rs v1.0.3 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling float-ord v0.2.0 [INFO] [stderr] Compiling rect_packer v0.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling smallvec v0.6.7 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling cmake v0.1.35 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.7 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.4 [INFO] [stderr] Compiling stb_truetype v0.2.5 [INFO] [stderr] Compiling wayland-scanner v0.21.10 [INFO] [stderr] Compiling gl_generator v0.10.0 [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] Compiling ordered-float v1.0.1 [INFO] [stderr] Compiling approx v0.3.1 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling euclid v0.19.4 [INFO] [stderr] Compiling rand_os v0.1.1 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling dirs v1.0.4 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling lyon_geom v0.12.2 [INFO] [stderr] Compiling rusttype v0.7.3 [INFO] [stderr] Compiling freetype v0.4.1 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling wayland-client v0.21.10 [INFO] [stderr] Compiling wayland-protocols v0.21.10 [INFO] [stderr] Compiling wayland-sys v0.21.10 [INFO] [stderr] Compiling servo-fontconfig v0.4.0 [INFO] [stderr] Compiling glutin v0.19.0 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling andrew v0.1.4 [INFO] [stderr] Compiling lyon_path v0.12.0 [INFO] [stderr] Compiling font-kit v0.1.0 (https://github.com/fkaa/font-kit/?branch=freetype-fix#c0ec9813) [INFO] [stderr] Compiling rg v0.1.0 (https://github.com/fkaa/rg/?rev=feaea7928bf4f76cf94b4a744d1a5ee02d24901d#feaea792) [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling wayland-commons v0.21.10 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.4 [INFO] [stderr] Compiling winit v0.18.1 [INFO] [stderr] Compiling 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: 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 23.45s [INFO] running `Command { std: "docker" "inspect" "a403e7962972feb9970e5588cfc502d86b22b05a43440728f555e0493c8d754c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a403e7962972feb9970e5588cfc502d86b22b05a43440728f555e0493c8d754c", kill_on_drop: false }` [INFO] [stdout] a403e7962972feb9970e5588cfc502d86b22b05a43440728f555e0493c8d754c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50e8fa0b3b670d7f468c73948ae4fdff2742af5c9762e7f82c92782e76910ccf [INFO] running `Command { std: "docker" "start" "-a" "50e8fa0b3b670d7f468c73948ae4fdff2742af5c9762e7f82c92782e76910ccf", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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 test [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "50e8fa0b3b670d7f468c73948ae4fdff2742af5c9762e7f82c92782e76910ccf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50e8fa0b3b670d7f468c73948ae4fdff2742af5c9762e7f82c92782e76910ccf", kill_on_drop: false }` [INFO] [stdout] 50e8fa0b3b670d7f468c73948ae4fdff2742af5c9762e7f82c92782e76910ccf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dfe9f9dd38486f111d4672e8973dc0d5b327ebcedc25b1c0ba130882df4c5f8e [INFO] running `Command { std: "docker" "start" "-a" "dfe9f9dd38486f111d4672e8973dc0d5b327ebcedc25b1c0ba130882df4c5f8e", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `window_id` [INFO] [stderr] --> src/main.rs:249:52 [INFO] [stderr] | [INFO] [stderr] 249 | glutin::Event::WindowEvent{ event, window_id } => match event { [INFO] [stderr] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `device_id` [INFO] [stderr] --> src/main.rs:278:25 [INFO] [stderr] | [INFO] [stderr] 278 | device_id, [INFO] [stderr] | ^^^^^^^^^ help: try ignoring the field: `device_id: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/main.rs:279:25 [INFO] [stderr] | [INFO] [stderr] 279 | state, [INFO] [stderr] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `button` [INFO] [stderr] --> src/main.rs:280:25 [INFO] [stderr] | [INFO] [stderr] 280 | button, [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `button: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `modifiers` [INFO] [stderr] --> src/main.rs:281:25 [INFO] [stderr] | [INFO] [stderr] 281 | modifiers [INFO] [stderr] | ^^^^^^^^^ help: try ignoring the field: `modifiers: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `new_pos` [INFO] [stderr] --> src/main.rs:287:29 [INFO] [stderr] | [INFO] [stderr] 287 | let new_pos = position.to_physical(dpi_factor); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_pos` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `errors` [INFO] [stderr] --> src/main.rs:392:13 [INFO] [stderr] | [INFO] [stderr] 392 | let errors = fitter.errors(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_errors` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `a` [INFO] [stderr] --> src/main.rs:403:17 [INFO] [stderr] | [INFO] [stderr] 403 | let a = n[i - 1]; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `d` [INFO] [stderr] --> src/main.rs:406:17 [INFO] [stderr] | [INFO] [stderr] 406 | let d = n[i + 2]; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sz` [INFO] [stderr] --> src/main.rs:412:17 [INFO] [stderr] | [INFO] [stderr] 412 | let sz = 4f32; [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_sz` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tz` [INFO] [stderr] --> src/main.rs:427:21 [INFO] [stderr] | [INFO] [stderr] 427 | let tz = (t - t1) / (t2 - t1); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_tz` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/main.rs:53:24 [INFO] [stderr] | [INFO] [stderr] 53 | .filter(|&(i, e)| e > threshold) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:55:23 [INFO] [stderr] | [INFO] [stderr] 55 | .map(|(i, e)| i) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/main.rs:725:46 [INFO] [stderr] | [INFO] [stderr] 725 | VariableBinding::Uniform(name, id) => { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/main.rs:725:52 [INFO] [stderr] | [INFO] [stderr] 725 | VariableBinding::Uniform(name, id) => { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:218:9 [INFO] [stderr] | [INFO] [stderr] 218 | let mut wnd = glutin::GlWindow::new(winit_window, context, &ev_loop).unwrap(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:231:9 [INFO] [stderr] | [INFO] [stderr] 231 | let mut renderer = RgOpenGlRenderer::new(width as f32, height as f32).unwrap(); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:301:13 [INFO] [stderr] | [INFO] [stderr] 301 | let mut list = &mut cxt.draw_list; [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `CSpline` [INFO] [stderr] --> src/main.rs:127:8 [INFO] [stderr] | [INFO] [stderr] 127 | struct CSpline { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `catmull_rom` [INFO] [stderr] --> src/main.rs:194:4 [INFO] [stderr] | [INFO] [stderr] 194 | fn catmull_rom(p0: f32, p1: f32, p2: f32, p3: f32, t: f32) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `with_data` [INFO] [stderr] --> src/main.rs:811:8 [INFO] [stderr] | [INFO] [stderr] 811 | fn with_data( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `projection` [INFO] [stderr] --> src/main.rs:887:5 [INFO] [stderr] | [INFO] [stderr] 887 | projection: [f32; 16], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Vertex` [INFO] [stderr] --> src/main.rs:890:8 [INFO] [stderr] | [INFO] [stderr] 890 | struct Vertex { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `texture` [INFO] [stderr] --> src/main.rs:896:5 [INFO] [stderr] | [INFO] [stderr] 896 | texture: Texture, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `curve_fit_test` (bin "curve_fit_test" test) generated 24 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/curve_fit_test-a2b35d8d3c5a3f32) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dfe9f9dd38486f111d4672e8973dc0d5b327ebcedc25b1c0ba130882df4c5f8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfe9f9dd38486f111d4672e8973dc0d5b327ebcedc25b1c0ba130882df4c5f8e", kill_on_drop: false }` [INFO] [stdout] dfe9f9dd38486f111d4672e8973dc0d5b327ebcedc25b1c0ba130882df4c5f8e