[INFO] cloning repository https://github.com/LinuxRocks2000/canvas_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LinuxRocks2000/canvas_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLinuxRocks2000%2Fcanvas_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLinuxRocks2000%2Fcanvas_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fe381c8cac6c3bec15c798bd440e42155e236e83 [INFO] checking LinuxRocks2000/canvas_rs against try#ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 for pr-145108 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLinuxRocks2000%2Fcanvas_rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LinuxRocks2000/canvas_rs [INFO] finished tweaking git repo https://github.com/LinuxRocks2000/canvas_rs [INFO] tweaked toml for git repo https://github.com/LinuxRocks2000/canvas_rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LinuxRocks2000/canvas_rs on toolchain ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LinuxRocks2000/canvas_rs 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" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a534c6f3fc0a8a177339555794b7bad8197ccbb778b2a87c83456c71274a6e6b [INFO] running `Command { std: "docker" "start" "-a" "a534c6f3fc0a8a177339555794b7bad8197ccbb778b2a87c83456c71274a6e6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a534c6f3fc0a8a177339555794b7bad8197ccbb778b2a87c83456c71274a6e6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a534c6f3fc0a8a177339555794b7bad8197ccbb778b2a87c83456c71274a6e6b", kill_on_drop: false }` [INFO] [stdout] a534c6f3fc0a8a177339555794b7bad8197ccbb778b2a87c83456c71274a6e6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ae40d86d689c7b8b0a48c1e4b9d38e02bc2beab1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82af7a4527377148401ba95fa50be746625dfa819121ac7d8ac10c33d06e0ede [INFO] running `Command { std: "docker" "start" "-a" "82af7a4527377148401ba95fa50be746625dfa819121ac7d8ac10c33d06e0ede", kill_on_drop: false }` [INFO] [stderr] Checking libloading v0.8.4 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling cc v1.1.1 [INFO] [stderr] Compiling wayland-sys v0.31.3 [INFO] [stderr] Compiling thiserror v1.0.62 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling quick-xml v0.34.0 [INFO] [stderr] Compiling wayland-client v0.31.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Compiling wgpu-hal v0.19.4 [INFO] [stderr] Checking gpu-descriptor-types v0.1.2 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking ttf-parser v0.24.0 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking wgpu-types v0.19.2 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling wgpu-core v0.19.4 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking profiling v1.0.15 [INFO] [stderr] Compiling wgpu v0.19.4 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Compiling wayland-scanner v0.31.3 [INFO] [stderr] Compiling wayland-backend v0.3.5 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking gpu-descriptor v0.2.4 [INFO] [stderr] Checking owned_ttf_parser v0.24.0 [INFO] [stderr] Checking ab_glyph v0.2.28 [INFO] [stderr] Compiling thiserror-impl v1.0.62 [INFO] [stderr] Compiling bytemuck_derive v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Checking naga v0.19.2 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking polling v3.7.2 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking wayland-cursor v0.31.4 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking sctk-adwaita v0.8.3 [INFO] [stderr] Checking canvas_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `canvas_rs::window::Vertex` in the current scope [INFO] [stdout] --> src/canvas_rs/window.rs:229:33 [INFO] [stdout] | [INFO] [stdout] 132 | struct Vertex { [INFO] [stdout] | ------------- function or associated item `default` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 229 | let data = vec![Vertex::default(); STARTING_BUFFER_SIZE]; [INFO] [stdout] | ^^^^^^^ function or associated item not found in `canvas_rs::window::Vertex` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::default::Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `data` in initializer of `VertexBufferManager<'c>` [INFO] [stdout] --> src/canvas_rs/window.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | Self { [INFO] [stdout] | ^^^^ missing `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `canvas_rs::window::Vertex` in the current scope [INFO] [stdout] --> src/canvas_rs/window.rs:229:33 [INFO] [stdout] | [INFO] [stdout] 132 | struct Vertex { [INFO] [stdout] | ------------- function or associated item `default` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 229 | let data = vec![Vertex::default(); STARTING_BUFFER_SIZE]; [INFO] [stdout] | ^^^^^^^ function or associated item not found in `canvas_rs::window::Vertex` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `std::default::Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `data` in initializer of `VertexBufferManager<'c>` [INFO] [stdout] --> src/canvas_rs/window.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | Self { [INFO] [stdout] | ^^^^ missing `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/canvas_rs/window.rs:139:31 [INFO] [stdout] | [INFO] [stdout] 139 | fn path_moveto(&mut self, x : f32, y : f32) {} // move the "head" to a position WITHOUT drawing [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/canvas_rs/window.rs:139:40 [INFO] [stdout] | [INFO] [stdout] 139 | fn path_moveto(&mut self, x : f32, y : f32) {} // move the "head" to a position WITHOUT drawing [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/canvas_rs/window.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | fn path_lineto(&mut self, x : f32, y : f32) {} // move the "head" to a position and draw the line between the new position and the ol... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/canvas_rs/window.rs:141:40 [INFO] [stdout] | [INFO] [stdout] 141 | fn path_lineto(&mut self, x : f32, y : f32) {} // move the "head" to a position and draw the line between the new position and the ol... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/canvas_rs/window.rs:153:29 [INFO] [stdout] | [INFO] [stdout] 153 | fn fill_rect(&mut self, x : f32, y : f32, w : f32, h : f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/canvas_rs/window.rs:153:38 [INFO] [stdout] | [INFO] [stdout] 153 | fn fill_rect(&mut self, x : f32, y : f32, w : f32, h : f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/canvas_rs/window.rs:153:47 [INFO] [stdout] | [INFO] [stdout] 153 | fn fill_rect(&mut self, x : f32, y : f32, w : f32, h : f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/canvas_rs/window.rs:153:56 [INFO] [stdout] | [INFO] [stdout] 153 | fn fill_rect(&mut self, x : f32, y : f32, w : f32, h : f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/canvas_rs/window.rs:162:31 [INFO] [stdout] | [INFO] [stdout] 162 | fn stroke_rect(&mut self, x : f32, y : f32, w : f32, h : f32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/canvas_rs/window.rs:162:40 [INFO] [stdout] | [INFO] [stdout] 162 | fn stroke_rect(&mut self, x : f32, y : f32, w : f32, h : f32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/canvas_rs/window.rs:162:49 [INFO] [stdout] | [INFO] [stdout] 162 | fn stroke_rect(&mut self, x : f32, y : f32, w : f32, h : f32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/canvas_rs/window.rs:162:58 [INFO] [stdout] | [INFO] [stdout] 162 | fn stroke_rect(&mut self, x : f32, y : f32, w : f32, h : f32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/canvas_rs/window.rs:164:29 [INFO] [stdout] | [INFO] [stdout] 164 | fn fill_poly(&mut self, x : f32, y : f32, radius : f32, sides : f32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/canvas_rs/window.rs:164:38 [INFO] [stdout] | [INFO] [stdout] 164 | fn fill_poly(&mut self, x : f32, y : f32, radius : f32, sides : f32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radius` [INFO] [stdout] --> src/canvas_rs/window.rs:164:47 [INFO] [stdout] | [INFO] [stdout] 164 | fn fill_poly(&mut self, x : f32, y : f32, radius : f32, sides : f32) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sides` [INFO] [stdout] --> src/canvas_rs/window.rs:164:61 [INFO] [stdout] | [INFO] [stdout] 164 | fn fill_poly(&mut self, x : f32, y : f32, radius : f32, sides : f32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sides` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/canvas_rs/window.rs:166:31 [INFO] [stdout] | [INFO] [stdout] 166 | fn stroke_poly(&mut self, x : f32, y : f32, radius : f32, sides : f32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/canvas_rs/window.rs:166:40 [INFO] [stdout] | [INFO] [stdout] 166 | fn stroke_poly(&mut self, x : f32, y : f32, radius : f32, sides : f32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radius` [INFO] [stdout] --> src/canvas_rs/window.rs:166:49 [INFO] [stdout] | [INFO] [stdout] 166 | fn stroke_poly(&mut self, x : f32, y : f32, radius : f32, sides : f32) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sides` [INFO] [stdout] --> src/canvas_rs/window.rs:166:63 [INFO] [stdout] | [INFO] [stdout] 166 | fn stroke_poly(&mut self, x : f32, y : f32, radius : f32, sides : f32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sides` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/canvas_rs/window.rs:169:37 [INFO] [stdout] | [INFO] [stdout] 169 | fn set_stroke_params(&mut self, params : StrokeParameters) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/canvas_rs/window.rs:171:35 [INFO] [stdout] | [INFO] [stdout] 171 | fn set_fill_params(&mut self, params : FillParameters) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/canvas_rs/window.rs:173:36 [INFO] [stdout] | [INFO] [stdout] 173 | fn set_stroke_color(&mut self, color : Color) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/canvas_rs/window.rs:175:36 [INFO] [stdout] | [INFO] [stdout] 175 | fn set_stroke_width(&mut self, width : f32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/canvas_rs/window.rs:177:34 [INFO] [stdout] | [INFO] [stdout] 177 | fn set_fill_color(&mut self, color : Color) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vertexbuf` [INFO] [stdout] --> src/canvas_rs/window.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | let vertexbuf = VertexBufferManager::new(&device); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertexbuf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `evt` [INFO] [stdout] --> src/canvas_rs/window.rs:250:30 [INFO] [stdout] | [INFO] [stdout] 250 | fn event_loop(&mut self, evt : fn(Event) -> (), draw : fn(&mut dyn Context2d) -> ()) -> Result<(), Box> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_evt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/canvas_rs/window.rs:139:31 [INFO] [stdout] | [INFO] [stdout] 139 | fn path_moveto(&mut self, x : f32, y : f32) {} // move the "head" to a position WITHOUT drawing [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/canvas_rs/window.rs:139:40 [INFO] [stdout] | [INFO] [stdout] 139 | fn path_moveto(&mut self, x : f32, y : f32) {} // move the "head" to a position WITHOUT drawing [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/canvas_rs/window.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | fn path_lineto(&mut self, x : f32, y : f32) {} // move the "head" to a position and draw the line between the new position and the ol... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/canvas_rs/window.rs:141:40 [INFO] [stdout] | [INFO] [stdout] 141 | fn path_lineto(&mut self, x : f32, y : f32) {} // move the "head" to a position and draw the line between the new position and the ol... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/canvas_rs/window.rs:153:29 [INFO] [stdout] | [INFO] [stdout] 153 | fn fill_rect(&mut self, x : f32, y : f32, w : f32, h : f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/canvas_rs/window.rs:153:38 [INFO] [stdout] | [INFO] [stdout] 153 | fn fill_rect(&mut self, x : f32, y : f32, w : f32, h : f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/canvas_rs/window.rs:153:47 [INFO] [stdout] | [INFO] [stdout] 153 | fn fill_rect(&mut self, x : f32, y : f32, w : f32, h : f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/canvas_rs/window.rs:153:56 [INFO] [stdout] | [INFO] [stdout] 153 | fn fill_rect(&mut self, x : f32, y : f32, w : f32, h : f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/canvas_rs/window.rs:162:31 [INFO] [stdout] | [INFO] [stdout] 162 | fn stroke_rect(&mut self, x : f32, y : f32, w : f32, h : f32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/canvas_rs/window.rs:162:40 [INFO] [stdout] | [INFO] [stdout] 162 | fn stroke_rect(&mut self, x : f32, y : f32, w : f32, h : f32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/canvas_rs/window.rs:162:49 [INFO] [stdout] | [INFO] [stdout] 162 | fn stroke_rect(&mut self, x : f32, y : f32, w : f32, h : f32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/canvas_rs/window.rs:162:58 [INFO] [stdout] | [INFO] [stdout] 162 | fn stroke_rect(&mut self, x : f32, y : f32, w : f32, h : f32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/canvas_rs/window.rs:164:29 [INFO] [stdout] | [INFO] [stdout] 164 | fn fill_poly(&mut self, x : f32, y : f32, radius : f32, sides : f32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/canvas_rs/window.rs:164:38 [INFO] [stdout] | [INFO] [stdout] 164 | fn fill_poly(&mut self, x : f32, y : f32, radius : f32, sides : f32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radius` [INFO] [stdout] --> src/canvas_rs/window.rs:164:47 [INFO] [stdout] | [INFO] [stdout] 164 | fn fill_poly(&mut self, x : f32, y : f32, radius : f32, sides : f32) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sides` [INFO] [stdout] --> src/canvas_rs/window.rs:164:61 [INFO] [stdout] | [INFO] [stdout] 164 | fn fill_poly(&mut self, x : f32, y : f32, radius : f32, sides : f32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sides` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/canvas_rs/window.rs:166:31 [INFO] [stdout] | [INFO] [stdout] 166 | fn stroke_poly(&mut self, x : f32, y : f32, radius : f32, sides : f32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/canvas_rs/window.rs:166:40 [INFO] [stdout] | [INFO] [stdout] 166 | fn stroke_poly(&mut self, x : f32, y : f32, radius : f32, sides : f32) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `radius` [INFO] [stdout] --> src/canvas_rs/window.rs:166:49 [INFO] [stdout] | [INFO] [stdout] 166 | fn stroke_poly(&mut self, x : f32, y : f32, radius : f32, sides : f32) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sides` [INFO] [stdout] --> src/canvas_rs/window.rs:166:63 [INFO] [stdout] | [INFO] [stdout] 166 | fn stroke_poly(&mut self, x : f32, y : f32, radius : f32, sides : f32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sides` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/canvas_rs/window.rs:169:37 [INFO] [stdout] | [INFO] [stdout] 169 | fn set_stroke_params(&mut self, params : StrokeParameters) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/canvas_rs/window.rs:171:35 [INFO] [stdout] | [INFO] [stdout] 171 | fn set_fill_params(&mut self, params : FillParameters) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/canvas_rs/window.rs:173:36 [INFO] [stdout] | [INFO] [stdout] 173 | fn set_stroke_color(&mut self, color : Color) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/canvas_rs/window.rs:175:36 [INFO] [stdout] | [INFO] [stdout] 175 | fn set_stroke_width(&mut self, width : f32) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/canvas_rs/window.rs:177:34 [INFO] [stdout] | [INFO] [stdout] 177 | fn set_fill_color(&mut self, color : Color) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vertexbuf` [INFO] [stdout] --> src/canvas_rs/window.rs:341:13 [INFO] [stdout] | [INFO] [stdout] 341 | let vertexbuf = VertexBufferManager::new(&device); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertexbuf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `evt` [INFO] [stdout] --> src/canvas_rs/window.rs:250:30 [INFO] [stdout] | [INFO] [stdout] 250 | fn event_loop(&mut self, evt : fn(Event) -> (), draw : fn(&mut dyn Context2d) -> ()) -> Result<(), Box> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_evt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `evt` [INFO] [stdout] --> src/main.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | window.event_loop(|evt| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_evt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `evt` [INFO] [stdout] --> src/main.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | window.event_loop(|evt| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_evt` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `canvas_rs` (bin "canvas_rs" test) due to 2 previous errors; 28 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0063, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `canvas_rs` (bin "canvas_rs") due to 2 previous errors; 28 warnings emitted [INFO] running `Command { std: "docker" "inspect" "82af7a4527377148401ba95fa50be746625dfa819121ac7d8ac10c33d06e0ede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82af7a4527377148401ba95fa50be746625dfa819121ac7d8ac10c33d06e0ede", kill_on_drop: false }` [INFO] [stdout] 82af7a4527377148401ba95fa50be746625dfa819121ac7d8ac10c33d06e0ede