[INFO] cloning repository https://github.com/kerstop/wgpu-text-editor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kerstop/wgpu-text-editor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkerstop%2Fwgpu-text-editor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkerstop%2Fwgpu-text-editor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e0ffe22652da8216ce9dd3c9ad6f2d939e71a0e6 [INFO] testing kerstop/wgpu-text-editor against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkerstop%2Fwgpu-text-editor" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/kerstop/wgpu-text-editor [INFO] finished tweaking git repo https://github.com/kerstop/wgpu-text-editor [INFO] tweaked toml for git repo https://github.com/kerstop/wgpu-text-editor written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kerstop/wgpu-text-editor on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kerstop/wgpu-text-editor already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67448e6657d5f6431062088c408244e2e961b39cbc0128e98b710d32f6131d10 [INFO] running `Command { std: "docker" "start" "-a" "67448e6657d5f6431062088c408244e2e961b39cbc0128e98b710d32f6131d10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67448e6657d5f6431062088c408244e2e961b39cbc0128e98b710d32f6131d10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67448e6657d5f6431062088c408244e2e961b39cbc0128e98b710d32f6131d10", kill_on_drop: false }` [INFO] [stdout] 67448e6657d5f6431062088c408244e2e961b39cbc0128e98b710d32f6131d10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f85951a0c576ec2bc5289d936cb767dedb3174c56f914560958c8d770c750f9 [INFO] running `Command { std: "docker" "start" "-a" "8f85951a0c576ec2bc5289d936cb767dedb3174c56f914560958c8d770c750f9", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Compiling concurrent-queue v2.4.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling event-listener v5.3.0 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling async-lock v3.3.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.1 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling async-task v4.7.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Compiling async-channel v2.2.1 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling gpu-alloc-types v0.3.0 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling wgpu-hal v0.19.3 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling raw-window-handle v0.6.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling gpu-alloc v0.6.0 [INFO] [stderr] Compiling wgpu-types v0.19.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling wgpu-core v0.19.3 [INFO] [stderr] Compiling glow v0.13.1 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Compiling xkeysym v0.2.0 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling blocking v1.5.1 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling wgpu v0.19.3 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling ordered-float v4.2.0 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling ab_glyph v0.2.25 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Compiling x11rb-protocol v0.13.0 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling glyph_brush_layout v0.2.3 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling glyph_brush_draw_cache v0.1.5 [INFO] [stderr] Compiling async-fs v2.1.1 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling async-executor v1.11.0 [INFO] [stderr] Compiling glyph_brush v0.7.8 [INFO] [stderr] Compiling smol_str v0.2.1 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling bytemuck_derive v1.6.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling naga v0.19.2 [INFO] [stderr] Compiling bytemuck v1.15.0 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling polling v3.6.0 [INFO] [stderr] Compiling async-io v2.3.2 [INFO] [stderr] Compiling calloop v0.12.4 [INFO] [stderr] Compiling async-signal v0.2.5 [INFO] [stderr] Compiling async-net v2.0.0 [INFO] [stderr] Compiling async-process v2.2.1 [INFO] [stderr] Compiling wayland-client v0.31.2 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling smol v2.0.0 [INFO] [stderr] Compiling wayland-protocols v0.31.2 [INFO] [stderr] Compiling calloop-wayland-source v0.2.0 [INFO] [stderr] Compiling wayland-cursor v0.31.1 [INFO] [stderr] Compiling wayland-protocols-wlr v0.2.0 [INFO] [stderr] Compiling wayland-protocols-plasma v0.2.0 [INFO] [stderr] Compiling sctk-adwaita v0.8.1 [INFO] [stderr] Compiling x11rb v0.13.0 [INFO] [stderr] Compiling wgpu_text v0.8.7 [INFO] [stderr] Compiling wgpu-text-editor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Array` and `SquareMatrix` [INFO] [stdout] --> src/math.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use cgmath::{Array, SquareMatrix}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::dpi::LogicalSize` [INFO] [stdout] --> src/math.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winit::dpi::LogicalSize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut root_widget: Box = Box::new(widgets::Rect::new( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/math.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) struct Vertex { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/math.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / #[repr(C)] [INFO] [stdout] 15 | | #[derive(Clone, Copy, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 16 | | pub(crate) struct Vertex { [INFO] [stdout] 17 | | pub(crate) position: [f32; 3], [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RECT_VERTEX_COUNT` is never used [INFO] [stdout] --> src/widgets.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const RECT_VERTEX_COUNT: u32 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Event` is never used [INFO] [stdout] --> src/widgets.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Event { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `process_event` is never used [INFO] [stdout] --> src/widgets.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Widget { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 20 | fn bounds(&self) -> Bounds; [INFO] [stdout] 21 | fn process_event(&mut self, event: &Event); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_inside` is never used [INFO] [stdout] --> src/widgets.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl Bounds { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 33 | fn is_inside(&self, (x, y): (f32, f32)) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 19s [INFO] running `Command { std: "docker" "inspect" "8f85951a0c576ec2bc5289d936cb767dedb3174c56f914560958c8d770c750f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f85951a0c576ec2bc5289d936cb767dedb3174c56f914560958c8d770c750f9", kill_on_drop: false }` [INFO] [stdout] 8f85951a0c576ec2bc5289d936cb767dedb3174c56f914560958c8d770c750f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e57922beef698b9ccc64965b147768871d5af487fde0259b2ba0f743aa92b362 [INFO] running `Command { std: "docker" "start" "-a" "e57922beef698b9ccc64965b147768871d5af487fde0259b2ba0f743aa92b362", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `Array` and `SquareMatrix` [INFO] [stdout] --> src/math.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use cgmath::{Array, SquareMatrix}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::dpi::LogicalSize` [INFO] [stdout] --> src/math.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winit::dpi::LogicalSize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut root_widget: Box = Box::new(widgets::Rect::new( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/math.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) struct Vertex { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/math.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / #[repr(C)] [INFO] [stdout] 15 | | #[derive(Clone, Copy, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 16 | | pub(crate) struct Vertex { [INFO] [stdout] 17 | | pub(crate) position: [f32; 3], [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RECT_VERTEX_COUNT` is never used [INFO] [stdout] --> src/widgets.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const RECT_VERTEX_COUNT: u32 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Event` is never used [INFO] [stdout] --> src/widgets.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Event { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wgpu-text-editor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `process_event` is never used [INFO] [stdout] --> src/widgets.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Widget { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 20 | fn bounds(&self) -> Bounds; [INFO] [stdout] 21 | fn process_event(&mut self, event: &Event); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_inside` is never used [INFO] [stdout] --> src/widgets.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl Bounds { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 33 | fn is_inside(&self, (x, y): (f32, f32)) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Array` and `SquareMatrix` [INFO] [stdout] --> src/math.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use cgmath::{Array, SquareMatrix}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winit::dpi::LogicalSize` [INFO] [stdout] --> src/math.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use winit::dpi::LogicalSize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut root_widget: Box = Box::new(widgets::Rect::new( [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/math.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) struct Vertex { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> src/math.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / #[repr(C)] [INFO] [stdout] 15 | | #[derive(Clone, Copy, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 16 | | pub(crate) struct Vertex { [INFO] [stdout] 17 | | pub(crate) position: [f32; 3], [INFO] [stdout] 18 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RECT_VERTEX_COUNT` is never used [INFO] [stdout] --> src/widgets.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const RECT_VERTEX_COUNT: u32 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Event` is never used [INFO] [stdout] --> src/widgets.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Event { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `process_event` is never used [INFO] [stdout] --> src/widgets.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait Widget { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 20 | fn bounds(&self) -> Bounds; [INFO] [stdout] 21 | fn process_event(&mut self, event: &Event); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_inside` is never used [INFO] [stdout] --> src/widgets.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl Bounds { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] 33 | fn is_inside(&self, (x, y): (f32, f32)) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.90s [INFO] running `Command { std: "docker" "inspect" "e57922beef698b9ccc64965b147768871d5af487fde0259b2ba0f743aa92b362", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e57922beef698b9ccc64965b147768871d5af487fde0259b2ba0f743aa92b362", kill_on_drop: false }` [INFO] [stdout] e57922beef698b9ccc64965b147768871d5af487fde0259b2ba0f743aa92b362 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 928af5ee9d7de4ddbebebc7d6741c6fef415d1c79804707100788c5f64caf0bf [INFO] running `Command { std: "docker" "start" "-a" "928af5ee9d7de4ddbebebc7d6741c6fef415d1c79804707100788c5f64caf0bf", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Array` and `SquareMatrix` [INFO] [stderr] --> src/math.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use cgmath::{Array, SquareMatrix}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `winit::dpi::LogicalSize` [INFO] [stderr] --> src/math.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use winit::dpi::LogicalSize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | let mut root_widget: Box = Box::new(widgets::Rect::new( [INFO] [stderr] | ----^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/math.rs:16:19 [INFO] [stderr] | [INFO] [stderr] 16 | pub(crate) struct Vertex { [INFO] [stderr] | ^^^^^^ field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `check` is never used [INFO] [stderr] --> src/math.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | / #[repr(C)] [INFO] [stderr] 15 | | #[derive(Clone, Copy, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stderr] 16 | | pub(crate) struct Vertex { [INFO] [stderr] 17 | | pub(crate) position: [f32; 3], [INFO] [stderr] 18 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: constant `RECT_VERTEX_COUNT` is never used [INFO] [stderr] --> src/widgets.rs:8:7 [INFO] [stderr] | [INFO] [stderr] 8 | const RECT_VERTEX_COUNT: u32 = 4; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `Event` is never used [INFO] [stderr] --> src/widgets.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | pub enum Event { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `process_event` is never used [INFO] [stderr] --> src/widgets.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 19 | pub trait Widget { [INFO] [stderr] | ------ method in this trait [INFO] [stderr] 20 | fn bounds(&self) -> Bounds; [INFO] [stderr] 21 | fn process_event(&mut self, event: &Event); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `is_inside` is never used [INFO] [stderr] --> src/widgets.rs:33:8 [INFO] [stderr] | [INFO] [stderr] 32 | impl Bounds { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] 33 | fn is_inside(&self, (x, y): (f32, f32)) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `wgpu-text-editor` (lib) generated 9 warnings (run `cargo fix --lib -p wgpu-text-editor` to apply 3 suggestions) [INFO] [stderr] warning: `wgpu-text-editor` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wgpu_text_editor-559ce070470145e5) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/wgpu_text_editor-830500c567f9af7e) [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] [stderr] Doc-tests wgpu_text_editor [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" "928af5ee9d7de4ddbebebc7d6741c6fef415d1c79804707100788c5f64caf0bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "928af5ee9d7de4ddbebebc7d6741c6fef415d1c79804707100788c5f64caf0bf", kill_on_drop: false }` [INFO] [stdout] 928af5ee9d7de4ddbebebc7d6741c6fef415d1c79804707100788c5f64caf0bf