[INFO] cloning repository https://github.com/fahimaloy/velox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fahimaloy/velox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffahimaloy%2Fvelox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffahimaloy%2Fvelox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a360293ad5335143db6d9b2670ca347e57f11a67 [INFO] building fahimaloy/velox against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffahimaloy%2Fvelox" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fahimaloy/velox [INFO] finished tweaking git repo https://github.com/fahimaloy/velox [INFO] tweaked toml for git repo https://github.com/fahimaloy/velox written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fahimaloy/velox on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fahimaloy/velox 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xcursor v0.3.10 [INFO] [stderr] Downloaded selectors v0.23.0 [INFO] [stderr] Downloaded phf_macros v0.10.0 [INFO] [stderr] Downloaded ab_glyph v0.2.31 [INFO] [stderr] Downloaded xml-rs v0.8.27 [INFO] [stderr] Downloaded cssparser v0.28.1 [INFO] [stderr] Downloaded ordered-float v5.0.0 [INFO] [stderr] Downloaded ab_glyph_rasterizer v0.1.9 [INFO] [stderr] Downloaded owned_ttf_parser v0.25.1 [INFO] [stderr] Downloaded glyph_brush_draw_cache v0.1.6 [INFO] [stderr] Downloaded textwrap v0.16.2 [INFO] [stderr] Downloaded skia-bindings v0.52.0 [INFO] [stderr] Downloaded cssparser v0.29.6 [INFO] [stderr] Downloaded bindgen v0.60.1 [INFO] [stderr] Downloaded wgpu_glyph v0.20.0 [INFO] [stderr] Downloaded glyph_brush v0.7.12 [INFO] [stderr] Downloaded glyph_brush_layout v0.2.4 [INFO] [stderr] Downloaded twox-hash v2.1.2 [INFO] [stderr] Downloaded bytemuck_derive v1.10.0 [INFO] [stderr] Downloaded skia-safe v0.52.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e482fd056c72d5aea2aac004b5a19c7aaf8ba348e8803ae1b437298143aad5d3 [INFO] running `Command { std: "docker" "start" "-a" "e482fd056c72d5aea2aac004b5a19c7aaf8ba348e8803ae1b437298143aad5d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e482fd056c72d5aea2aac004b5a19c7aaf8ba348e8803ae1b437298143aad5d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e482fd056c72d5aea2aac004b5a19c7aaf8ba348e8803ae1b437298143aad5d3", kill_on_drop: false }` [INFO] [stdout] e482fd056c72d5aea2aac004b5a19c7aaf8ba348e8803ae1b437298143aad5d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 797acca4b673d719a98f42fd741bb887588d777cfb61db5e13e12d86ed305f6d [INFO] running `Command { std: "docker" "start" "-a" "797acca4b673d719a98f42fd741bb887588d777cfb61db5e13e12d86ed305f6d", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.9 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling ash v0.37.3+1.3.251 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling clap_builder v4.5.43 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.2 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling gpu-descriptor v0.2.4 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling gpu-alloc v0.5.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling wgpu-types v0.16.1 [INFO] [stderr] Compiling nix v0.25.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling glow v0.12.3 [INFO] [stderr] Compiling owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling xcursor v0.3.10 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling renderdoc-sys v1.1.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling ab_glyph v0.2.31 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling selectors v0.23.0 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling glyph_brush_layout v0.2.4 [INFO] [stderr] Compiling servo_arc v0.1.1 [INFO] [stderr] Compiling winit v0.28.7 [INFO] [stderr] Compiling twox-hash v2.1.2 [INFO] [stderr] Compiling ordered-float v5.0.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling velox-dom v0.1.1 (/opt/rustwide/workdir/velox-dom) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> velox-dom/src/layout.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let mut get = |k: &str| -> Option { [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: unused variable: `mr` [INFO] [stdout] --> velox-dom/src/layout.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | let (ml, mr, mt, mb) = style_box_sides(style, "margin"); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_mr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mb` [INFO] [stdout] --> velox-dom/src/layout.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | let (ml, mr, mt, mb) = style_box_sides(style, "margin"); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_mb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `style_lookup` is never used [INFO] [stdout] --> velox-dom/src/layout.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn style_lookup(style: Option<&str>, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pollster v0.3.0 [INFO] [stderr] Compiling velox-core v0.1.1 (/opt/rustwide/workdir/velox-core) [INFO] [stderr] Compiling gallery v0.1.0 (/opt/rustwide/workdir/examples/gallery) [INFO] [stderr] Compiling todo v0.1.0 (/opt/rustwide/workdir/examples/todo) [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling glyph_brush_draw_cache v0.1.6 [INFO] [stderr] Compiling glyph_brush v0.7.12 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling bytemuck_derive v1.10.0 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling cssparser v0.28.1 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Compiling cssparser v0.29.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling naga v0.12.3 [INFO] [stderr] Compiling calloop v0.10.6 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling tiny-skia-path v0.8.4 [INFO] [stderr] Compiling tiny-skia v0.8.4 [INFO] [stderr] Compiling clap v4.5.43 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling velox-style v0.1.1 (/opt/rustwide/workdir/velox-style) [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling velox-sfc v0.1.1 (/opt/rustwide/workdir/velox-sfc) [INFO] [stdout] warning: function `emit_node` is never used [INFO] [stdout] --> velox-sfc/src/template_codegen.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn emit_node(n: &Node) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_props` is never used [INFO] [stdout] --> velox-sfc/src/template_codegen.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn emit_props(attrs: &[TemplateAttr]) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_children` is never used [INFO] [stdout] --> velox-sfc/src/template_codegen.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn emit_children(children: &[Node]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_node` is never used [INFO] [stdout] --> velox-sfc/src/template_codegen.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn emit_node(n: &Node) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_props` is never used [INFO] [stdout] --> velox-sfc/src/template_codegen.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn emit_props(attrs: &[TemplateAttr]) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_children` is never used [INFO] [stdout] --> velox-sfc/src/template_codegen.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn emit_children(children: &[Node]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling velox-cli v0.1.1 (/opt/rustwide/workdir/velox-cli) [INFO] [stdout] warning: value assigned to `child` is never read [INFO] [stdout] --> velox-cli/src/lib.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | let mut child: Option = None; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> velox-cli/src/lib.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | let mut spawn = || -> std::io::Result { [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: value assigned to `child` is never read [INFO] [stdout] --> velox-cli/src/lib.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | let mut child: Option = None; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> velox-cli/src/lib.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | let mut spawn = || -> std::io::Result { [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] [stderr] Compiling myapp v0.1.0 (/opt/rustwide/workdir/examples/myapp) [INFO] [stderr] Compiling wgpu-hal v0.16.2 [INFO] [stderr] Compiling wgpu-core v0.16.1 [INFO] [stderr] Compiling wgpu v0.16.3 [INFO] [stderr] Compiling wgpu_glyph v0.20.0 [INFO] [stderr] Compiling sctk-adwaita v0.5.4 [INFO] [stdout] warning: unused import: `wgpu as _wgpu` [INFO] [stdout] --> velox-renderer/src/lib.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | use wgpu as _wgpu; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling velox-renderer v0.1.1 (/opt/rustwide/workdir/velox-renderer) [INFO] [stdout] warning: unused import: `winit as _winit` [INFO] [stdout] --> velox-renderer/src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | use winit as _winit; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HorizontalAlign` [INFO] [stdout] --> velox-renderer/src/lib.rs:624:57 [INFO] [stdout] | [INFO] [stdout] 624 | use wgpu_glyph::{Section, Text, Layout, HorizontalAlign, VerticalAlign, FontId}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> velox-renderer/src/lib.rs:641:119 [INFO] [stdout] | [INFO] [stdout] 641 | ... fn find_click_node<'a>(vnode: &'a velox_dom::VNode, layout: &velox_dom::layout::LayoutNode) -> Option<(&'a velox_dom::Props)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 641 - fn find_click_node<'a>(vnode: &'a velox_dom::VNode, layout: &velox_dom::layout::LayoutNode) -> Option<(&'a velox_dom::Props)> { [INFO] [stdout] 641 + fn find_click_node<'a>(vnode: &'a velox_dom::VNode, layout: &velox_dom::layout::LayoutNode) -> Option<&'a velox_dom::Props> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `make_vertices` [INFO] [stdout] --> velox-renderer/src/lib.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | let make_vertices = |w: u32, h: u32, r: (f32, f32, f32, f32), color: [f32; 4]| -> [Vertex; 6] { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_make_vertices` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> velox-renderer/src/lib.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | let mut vbuf = device.create_buffer(&wgpu::BufferDescriptor { [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: variable does not need to be mutable [INFO] [stdout] --> velox-renderer/src/lib.rs:838:9 [INFO] [stdout] | [INFO] [stdout] 838 | let mut config = wgpu::SurfaceConfiguration { [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] --> velox-renderer/src/lib.rs:913:9 [INFO] [stdout] | [INFO] [stdout] 913 | let mut vertex_buffer = device.create_buffer(&wgpu::BufferDescriptor { [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] --> velox-renderer/src/lib.rs:969:9 [INFO] [stdout] | [INFO] [stdout] 969 | let mut surface = surface; [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] --> velox-renderer/src/lib.rs:970:9 [INFO] [stdout] | [INFO] [stdout] 970 | let mut device = device; [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] --> velox-renderer/src/lib.rs:971:9 [INFO] [stdout] | [INFO] [stdout] 971 | let mut queue = queue; [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] --> velox-renderer/src/lib.rs:972:9 [INFO] [stdout] | [INFO] [stdout] 972 | let mut vertex_buffer = vertex_buffer; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> velox-renderer/src/lib.rs:941:9 [INFO] [stdout] | [INFO] [stdout] 941 | config: &wgpu::SurfaceConfiguration, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> velox-renderer/src/lib.rs:1068:9 [INFO] [stdout] | [INFO] [stdout] 1068 | let mut vbuf = device.create_buffer(&wgpu::BufferDescriptor { label: Some("velox-vbuf"), size: 6 * std::mem::size_of::() as u... [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] --> velox-renderer/src/lib.rs:1119:9 [INFO] [stdout] | [INFO] [stdout] 1119 | let mut update_title = move |c: i32| { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_rect_pred` is never used [INFO] [stdout] --> velox-renderer/src/lib.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 296 | fn find_rect_pred( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `velox_renderer::Renderer` [INFO] [stdout] --> examples/myapp/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use velox_renderer::Renderer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 44s [INFO] running `Command { std: "docker" "inspect" "797acca4b673d719a98f42fd741bb887588d777cfb61db5e13e12d86ed305f6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "797acca4b673d719a98f42fd741bb887588d777cfb61db5e13e12d86ed305f6d", kill_on_drop: false }` [INFO] [stdout] 797acca4b673d719a98f42fd741bb887588d777cfb61db5e13e12d86ed305f6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ea247a823a21bbd3d32338b1123c62d592eb95cef77ab8f8e86a922fe61551d [INFO] running `Command { std: "docker" "start" "-a" "4ea247a823a21bbd3d32338b1123c62d592eb95cef77ab8f8e86a922fe61551d", kill_on_drop: false }` [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> velox-dom/src/layout.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let mut get = |k: &str| -> Option { [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: unused variable: `mr` [INFO] [stdout] --> velox-dom/src/layout.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | let (ml, mr, mt, mb) = style_box_sides(style, "margin"); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_mr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mb` [INFO] [stdout] --> velox-dom/src/layout.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | let (ml, mr, mt, mb) = style_box_sides(style, "margin"); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_mb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `style_lookup` is never used [INFO] [stdout] --> velox-dom/src/layout.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn style_lookup(style: Option<&str>, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_node` is never used [INFO] [stdout] --> velox-sfc/src/template_codegen.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn emit_node(n: &Node) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_props` is never used [INFO] [stdout] --> velox-sfc/src/template_codegen.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn emit_props(attrs: &[TemplateAttr]) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_children` is never used [INFO] [stdout] --> velox-sfc/src/template_codegen.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn emit_children(children: &[Node]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_node` is never used [INFO] [stdout] --> velox-sfc/src/template_codegen.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn emit_node(n: &Node) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_props` is never used [INFO] [stdout] --> velox-sfc/src/template_codegen.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn emit_props(attrs: &[TemplateAttr]) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_children` is never used [INFO] [stdout] --> velox-sfc/src/template_codegen.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn emit_children(children: &[Node]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling velox-sfc v0.1.1 (/opt/rustwide/workdir/velox-sfc) [INFO] [stderr] Compiling velox-core v0.1.1 (/opt/rustwide/workdir/velox-core) [INFO] [stderr] Compiling velox-style v0.1.1 (/opt/rustwide/workdir/velox-style) [INFO] [stdout] warning: unused import: `wgpu as _wgpu` [INFO] [stdout] --> velox-renderer/src/lib.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | use wgpu as _wgpu; [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 as _winit` [INFO] [stdout] --> velox-renderer/src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | use winit as _winit; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HorizontalAlign` [INFO] [stdout] --> velox-renderer/src/lib.rs:624:57 [INFO] [stdout] | [INFO] [stdout] 624 | use wgpu_glyph::{Section, Text, Layout, HorizontalAlign, VerticalAlign, FontId}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> velox-renderer/src/lib.rs:641:119 [INFO] [stdout] | [INFO] [stdout] 641 | ... fn find_click_node<'a>(vnode: &'a velox_dom::VNode, layout: &velox_dom::layout::LayoutNode) -> Option<(&'a velox_dom::Props)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 641 - fn find_click_node<'a>(vnode: &'a velox_dom::VNode, layout: &velox_dom::layout::LayoutNode) -> Option<(&'a velox_dom::Props)> { [INFO] [stdout] 641 + fn find_click_node<'a>(vnode: &'a velox_dom::VNode, layout: &velox_dom::layout::LayoutNode) -> Option<&'a velox_dom::Props> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `make_vertices` [INFO] [stdout] --> velox-renderer/src/lib.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | let make_vertices = |w: u32, h: u32, r: (f32, f32, f32, f32), color: [f32; 4]| -> [Vertex; 6] { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_make_vertices` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> velox-renderer/src/lib.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | let mut vbuf = device.create_buffer(&wgpu::BufferDescriptor { [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: variable does not need to be mutable [INFO] [stdout] --> velox-renderer/src/lib.rs:838:9 [INFO] [stdout] | [INFO] [stdout] 838 | let mut config = wgpu::SurfaceConfiguration { [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] --> velox-renderer/src/lib.rs:913:9 [INFO] [stdout] | [INFO] [stdout] 913 | let mut vertex_buffer = device.create_buffer(&wgpu::BufferDescriptor { [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] --> velox-renderer/src/lib.rs:969:9 [INFO] [stdout] | [INFO] [stdout] 969 | let mut surface = surface; [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] --> velox-renderer/src/lib.rs:970:9 [INFO] [stdout] | [INFO] [stdout] 970 | let mut device = device; [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] --> velox-renderer/src/lib.rs:971:9 [INFO] [stdout] | [INFO] [stdout] 971 | let mut queue = queue; [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] --> velox-renderer/src/lib.rs:972:9 [INFO] [stdout] | [INFO] [stdout] 972 | let mut vertex_buffer = vertex_buffer; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> velox-renderer/src/lib.rs:941:9 [INFO] [stdout] | [INFO] [stdout] 941 | config: &wgpu::SurfaceConfiguration, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> velox-renderer/src/lib.rs:1068:9 [INFO] [stdout] | [INFO] [stdout] 1068 | let mut vbuf = device.create_buffer(&wgpu::BufferDescriptor { label: Some("velox-vbuf"), size: 6 * std::mem::size_of::() as u... [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] --> velox-renderer/src/lib.rs:1119:9 [INFO] [stdout] | [INFO] [stdout] 1119 | let mut update_title = move |c: i32| { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_rect_pred` is never used [INFO] [stdout] --> velox-renderer/src/lib.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 296 | fn find_rect_pred( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `child` is never read [INFO] [stdout] --> velox-cli/src/lib.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | let mut child: Option = None; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> velox-cli/src/lib.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | let mut spawn = || -> std::io::Result { [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: value assigned to `child` is never read [INFO] [stdout] --> velox-cli/src/lib.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | let mut child: Option = None; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> velox-cli/src/lib.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | let mut spawn = || -> std::io::Result { [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] [stderr] Compiling velox-cli v0.1.1 (/opt/rustwide/workdir/velox-cli) [INFO] [stderr] Compiling velox-renderer v0.1.1 (/opt/rustwide/workdir/velox-renderer) [INFO] [stderr] Compiling myapp v0.1.0 (/opt/rustwide/workdir/examples/myapp) [INFO] [stdout] warning: unused import: `velox_renderer::Renderer` [INFO] [stdout] --> examples/myapp/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use velox_renderer::Renderer; [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: `wgpu as _wgpu` [INFO] [stdout] --> velox-renderer/src/lib.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | use wgpu as _wgpu; [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 as _winit` [INFO] [stdout] --> velox-renderer/src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | use winit as _winit; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HorizontalAlign` [INFO] [stdout] --> velox-renderer/src/lib.rs:624:57 [INFO] [stdout] | [INFO] [stdout] 624 | use wgpu_glyph::{Section, Text, Layout, HorizontalAlign, VerticalAlign, FontId}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> velox-renderer/src/lib.rs:641:119 [INFO] [stdout] | [INFO] [stdout] 641 | ... fn find_click_node<'a>(vnode: &'a velox_dom::VNode, layout: &velox_dom::layout::LayoutNode) -> Option<(&'a velox_dom::Props)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 641 - fn find_click_node<'a>(vnode: &'a velox_dom::VNode, layout: &velox_dom::layout::LayoutNode) -> Option<(&'a velox_dom::Props)> { [INFO] [stdout] 641 + fn find_click_node<'a>(vnode: &'a velox_dom::VNode, layout: &velox_dom::layout::LayoutNode) -> Option<&'a velox_dom::Props> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `child` is never read [INFO] [stdout] --> velox-cli/src/lib.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | let mut child: Option = None; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> velox-cli/src/lib.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | let mut spawn = || -> std::io::Result { [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: unused variable: `make_vertices` [INFO] [stdout] --> velox-renderer/src/lib.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | let make_vertices = |w: u32, h: u32, r: (f32, f32, f32, f32), color: [f32; 4]| -> [Vertex; 6] { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_make_vertices` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> velox-renderer/src/lib.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | let mut vbuf = device.create_buffer(&wgpu::BufferDescriptor { [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: variable does not need to be mutable [INFO] [stdout] --> velox-renderer/src/lib.rs:838:9 [INFO] [stdout] | [INFO] [stdout] 838 | let mut config = wgpu::SurfaceConfiguration { [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] --> velox-renderer/src/lib.rs:913:9 [INFO] [stdout] | [INFO] [stdout] 913 | let mut vertex_buffer = device.create_buffer(&wgpu::BufferDescriptor { [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] --> velox-renderer/src/lib.rs:969:9 [INFO] [stdout] | [INFO] [stdout] 969 | let mut surface = surface; [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] --> velox-renderer/src/lib.rs:970:9 [INFO] [stdout] | [INFO] [stdout] 970 | let mut device = device; [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] --> velox-renderer/src/lib.rs:971:9 [INFO] [stdout] | [INFO] [stdout] 971 | let mut queue = queue; [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] --> velox-renderer/src/lib.rs:972:9 [INFO] [stdout] | [INFO] [stdout] 972 | let mut vertex_buffer = vertex_buffer; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> velox-renderer/src/lib.rs:941:9 [INFO] [stdout] | [INFO] [stdout] 941 | config: &wgpu::SurfaceConfiguration, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> velox-renderer/src/lib.rs:1068:9 [INFO] [stdout] | [INFO] [stdout] 1068 | let mut vbuf = device.create_buffer(&wgpu::BufferDescriptor { label: Some("velox-vbuf"), size: 6 * std::mem::size_of::() as u... [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] --> velox-renderer/src/lib.rs:1119:9 [INFO] [stdout] | [INFO] [stdout] 1119 | let mut update_title = move |c: i32| { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_rect_pred` is never used [INFO] [stdout] --> velox-renderer/src/lib.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 296 | fn find_rect_pred( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_node` is never used [INFO] [stdout] --> velox-sfc/src/template_codegen.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn emit_node(n: &Node) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_props` is never used [INFO] [stdout] --> velox-sfc/src/template_codegen.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn emit_props(attrs: &[TemplateAttr]) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emit_children` is never used [INFO] [stdout] --> velox-sfc/src/template_codegen.rs:84:4 [INFO] [stdout] | [INFO] [stdout] 84 | fn emit_children(children: &[Node]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling velox-dom v0.1.1 (/opt/rustwide/workdir/velox-dom) [INFO] [stderr] Compiling todo v0.1.0 (/opt/rustwide/workdir/examples/todo) [INFO] [stdout] warning: unused import: `VNode` [INFO] [stdout] --> velox-dom/tests/diff_tests.rs:1:54 [INFO] [stdout] | [INFO] [stdout] 1 | use velox_dom::{diff::{diff, Patch}, h, text, Props, VNode}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gallery v0.1.0 (/opt/rustwide/workdir/examples/gallery) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> velox-dom/src/layout.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let mut get = |k: &str| -> Option { [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: unused variable: `mr` [INFO] [stdout] --> velox-dom/src/layout.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | let (ml, mr, mt, mb) = style_box_sides(style, "margin"); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_mr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mb` [INFO] [stdout] --> velox-dom/src/layout.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | let (ml, mr, mt, mb) = style_box_sides(style, "margin"); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_mb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `style_lookup` is never used [INFO] [stdout] --> velox-dom/src/layout.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn style_lookup(style: Option<&str>, key: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.59s [INFO] running `Command { std: "docker" "inspect" "4ea247a823a21bbd3d32338b1123c62d592eb95cef77ab8f8e86a922fe61551d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ea247a823a21bbd3d32338b1123c62d592eb95cef77ab8f8e86a922fe61551d", kill_on_drop: false }` [INFO] [stdout] 4ea247a823a21bbd3d32338b1123c62d592eb95cef77ab8f8e86a922fe61551d