[INFO] cloning repository https://github.com/adamnemecek/wgpu_rects [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adamnemecek/wgpu_rects" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamnemecek%2Fwgpu_rects", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamnemecek%2Fwgpu_rects'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0048ddb0c645a7bb549d0009c84db4bb3f1891e7 [INFO] testing adamnemecek/wgpu_rects against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamnemecek%2Fwgpu_rects" "/workspace/builds/worker-114/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-114/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adamnemecek/wgpu_rects on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/adamnemecek/wgpu_rects [INFO] finished tweaking git repo https://github.com/adamnemecek/wgpu_rects [INFO] tweaked toml for git repo https://github.com/adamnemecek/wgpu_rects written to /workspace/builds/worker-114/source/Cargo.toml [INFO] crate git repo https://github.com/adamnemecek/wgpu_rects already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded alga v0.9.2 [INFO] [stderr] Downloaded gfx-backend-metal v0.4.2 [INFO] [stderr] Downloaded wgpu-native v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f0e05d6bccb4aa59d4d7382f0ef70f9661adfc833ed5347b7e74505b47498cf [INFO] running `Command { std: "docker" "start" "-a" "9f0e05d6bccb4aa59d4d7382f0ef70f9661adfc833ed5347b7e74505b47498cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f0e05d6bccb4aa59d4d7382f0ef70f9661adfc833ed5347b7e74505b47498cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f0e05d6bccb4aa59d4d7382f0ef70f9661adfc833ed5347b7e74505b47498cf", kill_on_drop: false }` [INFO] [stdout] 9f0e05d6bccb4aa59d4d7382f0ef70f9661adfc833ed5347b7e74505b47498cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7737a46100c913f5f8d822eae20ab96a10505f952aab606f56dafa4062671437 [INFO] running `Command { std: "docker" "start" "-a" "7737a46100c913f5f8d822eae20ab96a10505f952aab606f56dafa4062671437", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling atom v0.3.5 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling smallvec v1.1.0 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling colorful v0.2.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling instant v0.1.2 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling lock_api v0.3.2 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling hibitset v0.6.2 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling relevant v0.4.2 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling x11 v2.18.1 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling gfx-hal v0.4.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ash v0.29.0 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling rusttype v0.8.2 [INFO] [stderr] Compiling alga v0.9.2 [INFO] [stderr] Compiling gfx-backend-empty v0.4.0 [INFO] [stderr] Compiling rendy-memory v0.5.2 [INFO] [stderr] Compiling rendy-descriptor v0.5.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling nalgebra v0.20.0 [INFO] [stderr] Compiling gfx-backend-vulkan v0.4.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling zerocopy-derive v0.1.4 [INFO] [stderr] Compiling wgpu-native v0.4.2 [INFO] [stderr] Compiling zerocopy v0.2.8 [INFO] [stderr] Compiling wgpu v0.4.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.6.4 [INFO] [stderr] Compiling winit v0.21.0 [INFO] [stderr] Compiling brewcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `CursorIcon`, `ElementState`, `ModifiersState`, `VirtualKeyCode` [INFO] [stdout] --> src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | event::{ElementState, Event, ModifiersState, MouseScrollDelta, VirtualKeyCode, WindowEvent}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | event_loop::{ControlFlow, EventLoop}, [INFO] [stdout] 17 | window::{CursorIcon, WindowBuilder}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:106:46 [INFO] [stdout] | [INFO] [stdout] 106 | event: WindowEvent::MouseInput { state, button, .. }, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/main.rs:106:53 [INFO] [stdout] | [INFO] [stdout] 106 | event: WindowEvent::MouseInput { state, button, .. }, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `button: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fps` [INFO] [stdout] --> src/main.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | let fps = 1.0 / ((dt as f32) / 1000.0); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifier_pressed` [INFO] [stdout] --> src/main.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let mut modifier_pressed = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifier_pressed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tform` [INFO] [stdout] --> src/rectangle_brush.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | let tform = transform * ortho; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let mut modifier_pressed = false; [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: field is never read: `left_top` [INFO] [stdout] --> src/rectangle_brush.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | left_top: [f32; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `RectInstance` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/rectangle_brush.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `right_bottom` [INFO] [stdout] --> src/rectangle_brush.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | right_bottom: [f32; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RectInstance` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/rectangle_brush.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `color` [INFO] [stdout] --> src/rectangle_brush.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | color: [f32; 4], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RectInstance` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/rectangle_brush.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `orthographic_projection` [INFO] [stdout] --> src/rectangle_brush.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn orthographic_projection(width: f64, height: f64) -> [f32; 16] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Point2` [INFO] [stdout] --> src/camera2d.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub type Point2 = na::Point2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Point3` [INFO] [stdout] --> src/camera2d.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub type Point3 = na::Point3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Mat3` [INFO] [stdout] --> src/camera2d.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub type Mat3 = na::Matrix3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ortho_lh_zo` [INFO] [stdout] --> src/camera2d.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn ortho_lh_zo( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ortho` [INFO] [stdout] --> src/camera2d.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn ortho(w: f32, h: f32) -> na::Matrix4 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `texture_translation` [INFO] [stdout] --> src/camera2d.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn texture_translation(view_translation: (f32, f32), outer_size: (f32, f32)) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `aspect_ratio_transform` [INFO] [stdout] --> src/camera2d.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn aspect_ratio_transform(inner_size: (f32, f32), outer_size: (f32, f32)) -> Mat4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scroll` [INFO] [stdout] --> src/camera2d.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn scroll(&mut self, delta: (f32, f32)) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 22s [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7737a46100c913f5f8d822eae20ab96a10505f952aab606f56dafa4062671437", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7737a46100c913f5f8d822eae20ab96a10505f952aab606f56dafa4062671437", kill_on_drop: false }` [INFO] [stdout] 7737a46100c913f5f8d822eae20ab96a10505f952aab606f56dafa4062671437 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f7dced9cc28a00fb97013edaa698ba74c52a90ed4e65d023232fe305ac73dd3 [INFO] running `Command { std: "docker" "start" "-a" "8f7dced9cc28a00fb97013edaa698ba74c52a90ed4e65d023232fe305ac73dd3", kill_on_drop: false }` [INFO] [stderr] Compiling brewcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `CursorIcon`, `ElementState`, `ModifiersState`, `VirtualKeyCode` [INFO] [stdout] --> src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | event::{ElementState, Event, ModifiersState, MouseScrollDelta, VirtualKeyCode, WindowEvent}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | event_loop::{ControlFlow, EventLoop}, [INFO] [stdout] 17 | window::{CursorIcon, WindowBuilder}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:106:46 [INFO] [stdout] | [INFO] [stdout] 106 | event: WindowEvent::MouseInput { state, button, .. }, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/main.rs:106:53 [INFO] [stdout] | [INFO] [stdout] 106 | event: WindowEvent::MouseInput { state, button, .. }, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `button: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fps` [INFO] [stdout] --> src/main.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | let fps = 1.0 / ((dt as f32) / 1000.0); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_fps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `modifier_pressed` [INFO] [stdout] --> src/main.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let mut modifier_pressed = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifier_pressed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tform` [INFO] [stdout] --> src/rectangle_brush.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | let tform = transform * ortho; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let mut modifier_pressed = false; [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: field is never read: `left_top` [INFO] [stdout] --> src/rectangle_brush.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | left_top: [f32; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `RectInstance` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/rectangle_brush.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `right_bottom` [INFO] [stdout] --> src/rectangle_brush.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | right_bottom: [f32; 2], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RectInstance` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/rectangle_brush.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `color` [INFO] [stdout] --> src/rectangle_brush.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | color: [f32; 4], [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RectInstance` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/rectangle_brush.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `orthographic_projection` [INFO] [stdout] --> src/rectangle_brush.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn orthographic_projection(width: f64, height: f64) -> [f32; 16] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Point2` [INFO] [stdout] --> src/camera2d.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub type Point2 = na::Point2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Point3` [INFO] [stdout] --> src/camera2d.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub type Point3 = na::Point3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Mat3` [INFO] [stdout] --> src/camera2d.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub type Mat3 = na::Matrix3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ortho_lh_zo` [INFO] [stdout] --> src/camera2d.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn ortho_lh_zo( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ortho` [INFO] [stdout] --> src/camera2d.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn ortho(w: f32, h: f32) -> na::Matrix4 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `texture_translation` [INFO] [stdout] --> src/camera2d.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn texture_translation(view_translation: (f32, f32), outer_size: (f32, f32)) -> (f32, f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `aspect_ratio_transform` [INFO] [stdout] --> src/camera2d.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn aspect_ratio_transform(inner_size: (f32, f32), outer_size: (f32, f32)) -> Mat4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scroll` [INFO] [stdout] --> src/camera2d.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn scroll(&mut self, delta: (f32, f32)) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.83s [INFO] running `Command { std: "docker" "inspect" "8f7dced9cc28a00fb97013edaa698ba74c52a90ed4e65d023232fe305ac73dd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f7dced9cc28a00fb97013edaa698ba74c52a90ed4e65d023232fe305ac73dd3", kill_on_drop: false }` [INFO] [stdout] 8f7dced9cc28a00fb97013edaa698ba74c52a90ed4e65d023232fe305ac73dd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-114/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c1c8638dc2a81035be7825ad6a52e150c005531328b9618acad5d1ac9dc2858f [INFO] running `Command { std: "docker" "start" "-a" "c1c8638dc2a81035be7825ad6a52e150c005531328b9618acad5d1ac9dc2858f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused imports: `CursorIcon`, `ElementState`, `ModifiersState`, `VirtualKeyCode` [INFO] [stderr] --> src/main.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | event::{ElementState, Event, ModifiersState, MouseScrollDelta, VirtualKeyCode, WindowEvent}, [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] 16 | event_loop::{ControlFlow, EventLoop}, [INFO] [stderr] 17 | window::{CursorIcon, WindowBuilder}, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/main.rs:106:46 [INFO] [stderr] | [INFO] [stderr] 106 | event: WindowEvent::MouseInput { state, button, .. }, [INFO] [stderr] | ^^^^^ help: try ignoring the field: `state: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `button` [INFO] [stderr] --> src/main.rs:106:53 [INFO] [stderr] | [INFO] [stderr] 106 | event: WindowEvent::MouseInput { state, button, .. }, [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `button: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fps` [INFO] [stderr] --> src/main.rs:163:17 [INFO] [stderr] | [INFO] [stderr] 163 | let fps = 1.0 / ((dt as f32) / 1000.0); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_fps` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `modifier_pressed` [INFO] [stderr] --> src/main.rs:73:13 [INFO] [stderr] | [INFO] [stderr] 73 | let mut modifier_pressed = false; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_modifier_pressed` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tform` [INFO] [stderr] --> src/rectangle_brush.rs:203:13 [INFO] [stderr] | [INFO] [stderr] 203 | let tform = transform * ortho; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_tform` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:73:9 [INFO] [stderr] | [INFO] [stderr] 73 | let mut modifier_pressed = false; [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: field is never read: `left_top` [INFO] [stderr] --> src/rectangle_brush.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | left_top: [f32; 2], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `RectInstance` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/rectangle_brush.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `right_bottom` [INFO] [stderr] --> src/rectangle_brush.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | right_bottom: [f32; 2], [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RectInstance` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/rectangle_brush.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `color` [INFO] [stderr] --> src/rectangle_brush.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | color: [f32; 4], [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RectInstance` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/rectangle_brush.rs:3:10 [INFO] [stderr] | [INFO] [stderr] 3 | #[derive(Debug, Clone, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `orthographic_projection` [INFO] [stderr] --> src/rectangle_brush.rs:29:4 [INFO] [stderr] | [INFO] [stderr] 29 | fn orthographic_projection(width: f64, height: f64) -> [f32; 16] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `Point2` [INFO] [stderr] --> src/camera2d.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | pub type Point2 = na::Point2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `Point3` [INFO] [stderr] --> src/camera2d.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | pub type Point3 = na::Point3; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `Mat3` [INFO] [stderr] --> src/camera2d.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | pub type Mat3 = na::Matrix3; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `ortho_lh_zo` [INFO] [stderr] --> src/camera2d.rs:16:8 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn ortho_lh_zo( [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `ortho` [INFO] [stderr] --> src/camera2d.rs:37:8 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn ortho(w: f32, h: f32) -> na::Matrix4 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `texture_translation` [INFO] [stderr] --> src/camera2d.rs:75:4 [INFO] [stderr] | [INFO] [stderr] 75 | fn texture_translation(view_translation: (f32, f32), outer_size: (f32, f32)) -> (f32, f32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `aspect_ratio_transform` [INFO] [stderr] --> src/camera2d.rs:127:4 [INFO] [stderr] | [INFO] [stderr] 127 | fn aspect_ratio_transform(inner_size: (f32, f32), outer_size: (f32, f32)) -> Mat4 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `scroll` [INFO] [stderr] --> src/camera2d.rs:183:12 [INFO] [stderr] | [INFO] [stderr] 183 | pub fn scroll(&mut self, delta: (f32, f32)) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `brewcode` (bin "brewcode" test) generated 19 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.19s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/brewcode-25317b022cce57b9) [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" "c1c8638dc2a81035be7825ad6a52e150c005531328b9618acad5d1ac9dc2858f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1c8638dc2a81035be7825ad6a52e150c005531328b9618acad5d1ac9dc2858f", kill_on_drop: false }` [INFO] [stdout] c1c8638dc2a81035be7825ad6a52e150c005531328b9618acad5d1ac9dc2858f