[INFO] cloning repository https://github.com/melvi-l/node-editor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/melvi-l/node-editor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelvi-l%2Fnode-editor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelvi-l%2Fnode-editor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e7ad128c6535931b73d584b1e435e55680b30c19 [INFO] checking melvi-l/node-editor against master#9050733395f7c10560d49f549e022f411fa28cea for pr-146972 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmelvi-l%2Fnode-editor" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/melvi-l/node-editor [INFO] finished tweaking git repo https://github.com/melvi-l/node-editor [INFO] tweaked toml for git repo https://github.com/melvi-l/node-editor written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/melvi-l/node-editor on toolchain 9050733395f7c10560d49f549e022f411fa28cea [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9050733395f7c10560d49f549e022f411fa28cea" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/melvi-l/node-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" "+9050733395f7c10560d49f549e022f411fa28cea" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wgpu-core-deps-emscripten v26.0.0 [INFO] [stderr] Downloaded cc v1.2.39 [INFO] [stderr] Downloaded windows-sys v0.61.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+9050733395f7c10560d49f549e022f411fa28cea" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5aa440ead469535043a68bbf3cb09bf1dd8f5be6c811668f780f8d3a172dad5b [INFO] running `Command { std: "docker" "start" "-a" "5aa440ead469535043a68bbf3cb09bf1dd8f5be6c811668f780f8d3a172dad5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5aa440ead469535043a68bbf3cb09bf1dd8f5be6c811668f780f8d3a172dad5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5aa440ead469535043a68bbf3cb09bf1dd8f5be6c811668f780f8d3a172dad5b", kill_on_drop: false }` [INFO] [stdout] 5aa440ead469535043a68bbf3cb09bf1dd8f5be6c811668f780f8d3a172dad5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+9050733395f7c10560d49f549e022f411fa28cea" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28a4ee74b8be71bc3355e95ff6cef02cf1d69ec99397fb12f8daab83dcb5c1ec [INFO] running `Command { std: "docker" "start" "-a" "28a4ee74b8be71bc3355e95ff6cef02cf1d69ec99397fb12f8daab83dcb5c1ec", kill_on_drop: false }` [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling naga v26.0.0 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Compiling wgpu-hal v26.0.4 [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking glow v0.16.0 [INFO] [stderr] Checking ttf-parser v0.25.1 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling wgpu-core v26.0.1 [INFO] [stderr] Checking wayland-sys v0.31.7 [INFO] [stderr] Compiling wgpu v26.0.1 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking codespan-reporting v0.12.0 [INFO] [stderr] Checking glam v0.30.8 [INFO] [stderr] Checking pollster v0.4.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking ordered-float v5.0.0 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking memmap2 v0.9.8 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Checking owned_ttf_parser v0.25.1 [INFO] [stderr] Checking ab_glyph v0.2.32 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling bytemuck_derive v1.10.1 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking thiserror v2.0.16 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Checking rustix v1.1.2 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking wgpu-types v26.0.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking gpu-descriptor v0.3.2 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking gethostname v1.0.2 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Checking wayland-client v0.31.11 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking wayland-protocols v0.32.9 [INFO] [stderr] Checking wayland-cursor v0.31.11 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking wgpu-core-deps-windows-linux-android v26.0.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.9 [INFO] [stderr] Checking wayland-protocols-plasma v0.3.9 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking sctk-adwaita v0.10.1 [INFO] [stderr] Checking winit v0.30.12 [INFO] [stderr] Checking wgpu-node-editor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `core::test_core` [INFO] [stdout] --> src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{core::test_core, window::run}; [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: `core::test_core` [INFO] [stdout] --> src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{core::test_core, window::run}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/window/mod.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn run(mut ctrl: C) -> Result<(), EventLoopError> { [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: `window` [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | window: &winit::window::Window, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | event: &winit::event::WindowEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | window: &winit::window::Window, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_size` [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | new_size: winit::dpi::PhysicalSize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/main.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | fn on_redraw(&mut self, window: &winit::window::Window) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/main.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | fn on_dispose(&mut self, window: &winit::window::Window) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Node` is more private than the item `Graph::create_node` [INFO] [stdout] --> src/core/mod.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn create_node(&mut self, node: Node) -> Result<(), GraphError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Graph::create_node` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Node` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/core/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct Node { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Node` is more private than the item `Graph::delete_node` [INFO] [stdout] --> src/core/mod.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn delete_node(&mut self, node_id: NodeId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Graph::delete_node` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Node` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/core/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct Node { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PortRef` is more private than the item `Graph::connect` [INFO] [stdout] --> src/core/mod.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | / pub fn connect( [INFO] [stdout] 80 | | &mut self, [INFO] [stdout] 81 | | from: PortRef, [INFO] [stdout] 82 | | to: PortRef, [INFO] [stdout] 83 | | edge_id: EdgeId, [INFO] [stdout] 84 | | ) -> Result<(), GraphError> { [INFO] [stdout] | |_______________________________^ method `Graph::connect` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `PortRef` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/core/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | struct PortRef { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Edge` is more private than the item `Graph::disconnect` [INFO] [stdout] --> src/core/mod.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn disconnect(&mut self, edge_id: EdgeId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Graph::disconnect` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Edge` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/core/mod.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | struct Edge { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `graph` and `interactor` are never read [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 9 | graph: core::Graph, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | interactor: interactor::Interactor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GraphError` is never used [INFO] [stdout] --> src/core/mod.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum GraphError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_node`, `delete_node`, `connect`, and `disconnect` are never used [INFO] [stdout] --> src/core/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Graph { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn create_node(&mut self, node: Node) -> Result<(), GraphError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn delete_node(&mut self, node_id: NodeId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn connect( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn disconnect(&mut self, edge_id: EdgeId) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_core` is never used [INFO] [stdout] --> src/core/mod.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn test_core() -> Result<(), GraphError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `instance`, `surface`, `config`, `device`, `queue`, and `size` are never read [INFO] [stdout] --> src/render/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Ctx { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 18 | instance: wgpu::Instance, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | surface: wgpu::Surface<'static>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | config: wgpu::SurfaceConfiguration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | device: wgpu::Device, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | queue: wgpu::Queue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | size: RenderSize, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FrameCtx` is never constructed [INFO] [stdout] --> src/render/mod.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct FrameCtx { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `resize`, `begin_frame`, `submit`, `begin_render_pass`, and `draw` are never used [INFO] [stdout] --> src/render/mod.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Ctx { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn resize(&mut self, new_size: winit::dpi::PhysicalSize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn begin_frame(&mut self) -> Result<(wgpu::SurfaceTexture, FrameCtx), wgpu::SurfaceError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn submit(&mut self, frame: wgpu::SurfaceTexture, encoder: wgpu::CommandEncoder) -> () { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn begin_render_pass<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn draw(&mut self) -> Result<(), wgpu::SurfaceError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on_redraw` is never used [INFO] [stdout] --> src/window/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Controller { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | fn on_redraw(&mut self, window: &Window); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | ctx.draw(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 52 | let _ = ctx.draw(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | run(state); // does not open window on wayland because nothing is rendered [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 62 | let _ = run(state); // does not open window on wayland because nothing is rendered [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/core/mod.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | graph.disconnect("edge_1".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 174 | let _ = graph.disconnect("edge_1".to_string()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/window/mod.rs:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn run(mut ctrl: C) -> Result<(), EventLoopError> { [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: `window` [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | window: &winit::window::Window, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | event: &winit::event::WindowEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/main.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | window: &winit::window::Window, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_size` [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | new_size: winit::dpi::PhysicalSize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/main.rs:46:29 [INFO] [stdout] | [INFO] [stdout] 46 | fn on_redraw(&mut self, window: &winit::window::Window) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/main.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | fn on_dispose(&mut self, window: &winit::window::Window) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Node` is more private than the item `Graph::create_node` [INFO] [stdout] --> src/core/mod.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn create_node(&mut self, node: Node) -> Result<(), GraphError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Graph::create_node` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Node` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/core/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct Node { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Node` is more private than the item `Graph::delete_node` [INFO] [stdout] --> src/core/mod.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn delete_node(&mut self, node_id: NodeId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Graph::delete_node` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Node` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/core/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | struct Node { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `PortRef` is more private than the item `Graph::connect` [INFO] [stdout] --> src/core/mod.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | / pub fn connect( [INFO] [stdout] 80 | | &mut self, [INFO] [stdout] 81 | | from: PortRef, [INFO] [stdout] 82 | | to: PortRef, [INFO] [stdout] 83 | | edge_id: EdgeId, [INFO] [stdout] 84 | | ) -> Result<(), GraphError> { [INFO] [stdout] | |_______________________________^ method `Graph::connect` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `PortRef` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/core/mod.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | struct PortRef { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Edge` is more private than the item `Graph::disconnect` [INFO] [stdout] --> src/core/mod.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn disconnect(&mut self, edge_id: EdgeId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Graph::disconnect` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Edge` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/core/mod.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | struct Edge { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `graph` and `interactor` are never read [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct State { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 9 | graph: core::Graph, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | interactor: interactor::Interactor, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GraphError` is never used [INFO] [stdout] --> src/core/mod.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | pub enum GraphError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_node`, `delete_node`, `connect`, and `disconnect` are never used [INFO] [stdout] --> src/core/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl Graph { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn create_node(&mut self, node: Node) -> Result<(), GraphError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn delete_node(&mut self, node_id: NodeId) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn connect( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn disconnect(&mut self, edge_id: EdgeId) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_core` is never used [INFO] [stdout] --> src/core/mod.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn test_core() -> Result<(), GraphError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `instance`, `surface`, `config`, `device`, `queue`, and `size` are never read [INFO] [stdout] --> src/render/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Ctx { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 18 | instance: wgpu::Instance, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | surface: wgpu::Surface<'static>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | config: wgpu::SurfaceConfiguration, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | device: wgpu::Device, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | queue: wgpu::Queue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | size: RenderSize, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FrameCtx` is never constructed [INFO] [stdout] --> src/render/mod.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct FrameCtx { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `resize`, `begin_frame`, `submit`, `begin_render_pass`, and `draw` are never used [INFO] [stdout] --> src/render/mod.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Ctx { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn resize(&mut self, new_size: winit::dpi::PhysicalSize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn begin_frame(&mut self) -> Result<(wgpu::SurfaceTexture, FrameCtx), wgpu::SurfaceError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn submit(&mut self, frame: wgpu::SurfaceTexture, encoder: wgpu::CommandEncoder) -> () { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn begin_render_pass<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn draw(&mut self) -> Result<(), wgpu::SurfaceError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on_redraw` is never used [INFO] [stdout] --> src/window/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait Controller { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | fn on_redraw(&mut self, window: &Window); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | ctx.draw(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 52 | let _ = ctx.draw(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | run(state); // does not open window on wayland because nothing is rendered [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 62 | let _ = run(state); // does not open window on wayland because nothing is rendered [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/core/mod.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | graph.disconnect("edge_1".to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 174 | let _ = graph.disconnect("edge_1".to_string()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.94s [INFO] running `Command { std: "docker" "inspect" "28a4ee74b8be71bc3355e95ff6cef02cf1d69ec99397fb12f8daab83dcb5c1ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28a4ee74b8be71bc3355e95ff6cef02cf1d69ec99397fb12f8daab83dcb5c1ec", kill_on_drop: false }` [INFO] [stdout] 28a4ee74b8be71bc3355e95ff6cef02cf1d69ec99397fb12f8daab83dcb5c1ec