[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] checking adamnemecek/wgpu_rects against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadamnemecek%2Fwgpu_rects" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adamnemecek/wgpu_rects on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", 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-7/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" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13c6c47470073abe3a726d61c6da388bc364f0e5b00e8f54ce944695caa90925 [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" "13c6c47470073abe3a726d61c6da388bc364f0e5b00e8f54ce944695caa90925", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13c6c47470073abe3a726d61c6da388bc364f0e5b00e8f54ce944695caa90925", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13c6c47470073abe3a726d61c6da388bc364f0e5b00e8f54ce944695caa90925", kill_on_drop: false }` [INFO] [stdout] 13c6c47470073abe3a726d61c6da388bc364f0e5b00e8f54ce944695caa90925 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] ff9d0210415db422781fc2f54dacd515d6e2841309f945b2753712bd7edcbc4d [INFO] running `Command { std: "docker" "start" "-a" "ff9d0210415db422781fc2f54dacd515d6e2841309f945b2753712bd7edcbc4d", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Checking atom v0.3.5 [INFO] [stderr] Checking colorful v0.2.1 [INFO] [stderr] Checking instant v0.1.2 [INFO] [stderr] Compiling x11 v2.18.1 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Checking lock_api v0.3.2 [INFO] [stderr] Checking relevant v0.4.2 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking ash v0.29.0 [INFO] [stderr] Checking gfx-hal v0.4.1 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Compiling zerocopy-derive v0.1.4 [INFO] [stderr] Checking hibitset v0.6.2 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking num-rational v0.2.2 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking alga v0.9.2 [INFO] [stderr] Checking zerocopy v0.2.8 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking nalgebra v0.20.0 [INFO] [stderr] Checking rendy-memory v0.5.2 [INFO] [stderr] Checking rendy-descriptor v0.5.1 [INFO] [stderr] Checking gfx-backend-empty v0.4.0 [INFO] [stderr] Checking gfx-backend-vulkan v0.4.0 [INFO] [stderr] Checking wgpu-native v0.4.2 [INFO] [stderr] Checking smithay-client-toolkit v0.6.4 [INFO] [stderr] Checking winit v0.21.0 [INFO] [stderr] Checking wgpu v0.4.0 [INFO] [stderr] Checking 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 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: if this is intentional, prefix it with an underscore: `_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: if this is intentional, prefix it with an underscore: `_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:9 [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: 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] = note: `#[warn(dead_code)]` on by default [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: unused variable: `state` [INFO] [stdout] --> src/main.rs:106:46 [INFO] [stdout] | [INFO] [stdout] 106 | event: WindowEvent::MouseInput { state, button, .. }, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_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: if this is intentional, prefix it with an underscore: `_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:9 [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: 16 warnings emitted [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: 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] = note: `#[warn(dead_code)]` on by default [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: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "ff9d0210415db422781fc2f54dacd515d6e2841309f945b2753712bd7edcbc4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff9d0210415db422781fc2f54dacd515d6e2841309f945b2753712bd7edcbc4d", kill_on_drop: false }` [INFO] [stdout] ff9d0210415db422781fc2f54dacd515d6e2841309f945b2753712bd7edcbc4d