[INFO] cloning repository https://github.com/PaulYu007/WASM_Diagram [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PaulYu007/WASM_Diagram" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaulYu007%2FWASM_Diagram", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaulYu007%2FWASM_Diagram'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2e8a37e854262a65fcfd5357ae0ab6dd08eacefb [INFO] testing PaulYu007/WASM_Diagram against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPaulYu007%2FWASM_Diagram" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/PaulYu007/WASM_Diagram [INFO] finished tweaking git repo https://github.com/PaulYu007/WASM_Diagram [INFO] tweaked toml for git repo https://github.com/PaulYu007/WASM_Diagram written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/PaulYu007/WASM_Diagram on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/PaulYu007/WASM_Diagram 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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08efb2911e68735d77ce33480a05ca523912b09526966fce03515e3d563fd004 [INFO] running `Command { std: "docker" "start" "-a" "08efb2911e68735d77ce33480a05ca523912b09526966fce03515e3d563fd004", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08efb2911e68735d77ce33480a05ca523912b09526966fce03515e3d563fd004", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08efb2911e68735d77ce33480a05ca523912b09526966fce03515e3d563fd004", kill_on_drop: false }` [INFO] [stdout] 08efb2911e68735d77ce33480a05ca523912b09526966fce03515e3d563fd004 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85b51c06a5249fe21bcea43be55ce26c79410ffed63472b299574b121434a8ed [INFO] running `Command { std: "docker" "start" "-a" "85b51c06a5249fe21bcea43be55ce26c79410ffed63472b299574b121434a8ed", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling find-msvc-tools v0.1.8 [INFO] [stderr] Compiling wayland-sys v0.31.8 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling xml-rs v0.8.28 [INFO] [stderr] Compiling zerocopy v0.8.34 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling cc v1.2.54 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling cursor-icon v1.2.0 [INFO] [stderr] Compiling xkeysym v0.2.1 [INFO] [stderr] Compiling xcursor v0.3.10 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Compiling x11rb-protocol v0.13.2 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.20.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling wayland-scanner v0.31.8 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling glutin v0.31.3 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling glutin_glx_sys v0.5.0 [INFO] [stderr] Compiling glutin_egl_sys v0.6.0 [INFO] [stderr] Compiling pest v2.8.5 [INFO] [stderr] Compiling flate2 v1.1.8 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling wayland-backend v0.3.12 [INFO] [stderr] Compiling owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling glutin-winit v0.4.2 [INFO] [stderr] Compiling zmij v1.0.17 [INFO] [stderr] Compiling ab_glyph v0.2.32 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling glow v0.13.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling web-time v0.2.4 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling pest_meta v2.8.5 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Compiling directories-next v2.0.0 [INFO] [stderr] Compiling jiff v0.2.18 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling pest_generator v2.8.5 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling bytemuck_derive v1.10.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling pest_derive v2.8.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling env_filter v0.1.4 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling gethostname v1.1.0 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling calloop v0.12.4 [INFO] [stderr] Compiling calloop v0.14.3 [INFO] [stderr] Compiling emath v0.27.2 [INFO] [stderr] Compiling ecolor v0.27.2 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling epaint v0.27.2 [INFO] [stderr] Compiling wayland-client v0.31.12 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling webbrowser v0.8.15 [INFO] [stderr] Compiling wayland-cursor v0.31.12 [INFO] [stderr] Compiling wayland-protocols v0.32.10 [INFO] [stderr] Compiling wayland-protocols v0.31.2 [INFO] [stderr] Compiling calloop-wayland-source v0.2.0 [INFO] [stderr] Compiling calloop-wayland-source v0.4.1 [INFO] [stderr] Compiling egui v0.27.2 [INFO] [stderr] Compiling wayland-protocols-wlr v0.2.0 [INFO] [stderr] Compiling wayland-protocols-plasma v0.2.0 [INFO] [stderr] Compiling wayland-protocols-misc v0.3.10 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.10 [INFO] [stderr] Compiling wayland-protocols-experimental v20250721.0.1 [INFO] [stderr] Compiling x11rb v0.13.2 [INFO] [stderr] Compiling smithay-clipboard v0.7.3 [INFO] [stderr] Compiling arboard v3.6.1 [INFO] [stderr] Compiling egui_glow v0.27.2 [INFO] [stderr] Compiling egui-winit v0.27.2 [INFO] [stderr] Compiling eframe v0.27.2 [INFO] [stderr] Compiling mermaid-editor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mermaid_parser::*` [INFO] [stdout] --> src/parser/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use mermaid_parser::*; [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: `canvas::*` [INFO] [stdout] --> src/renderer/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use canvas::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `node_renderer::*` [INFO] [stdout] --> src/renderer/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use node_renderer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `edge_renderer::*` [INFO] [stdout] --> src/renderer/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use edge_renderer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/ui/canvas_view.rs:120:37 [INFO] [stdout] | [INFO] [stdout] 120 | Stroke::new(2.0, Color32::from_rgb(100, 100, 255)), [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/ui/canvas_view.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | Stroke::new(1.0, grid_color), [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/ui/canvas_view.rs:233:29 [INFO] [stdout] | [INFO] [stdout] 233 | Stroke::new(1.0, grid_color), [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_edge` and `get_edge` are never used [INFO] [stdout] --> src/core/diagram.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl Diagram { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn remove_edge(&mut self, edge_id: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn get_edge(&self, edge_id: &str) -> Option<&Edge> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `description` is never used [INFO] [stdout] --> src/core/commands.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Command { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 6 | fn description(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `execute`, `can_undo`, and `can_redo` are never used [INFO] [stdout] --> src/core/commands.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl CommandHistory { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn execute(&mut self, mut command: Box, diagram: &mut Diagram) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn can_undo(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn can_redo(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MoveNodeCommand` is never constructed [INFO] [stdout] --> src/core/commands.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct MoveNodeCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/commands.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl MoveNodeCommand { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 74 | pub fn new(node_id: String, old_position: [f32; 2], new_position: [f32; 2]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AddNodeCommand` is never constructed [INFO] [stdout] --> src/core/commands.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct AddNodeCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/commands.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl AddNodeCommand { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 109 | pub fn new(label: String, position: [f32; 2]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeleteNodeCommand` is never constructed [INFO] [stdout] --> src/core/commands.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct DeleteNodeCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/commands.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl DeleteNodeCommand { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 143 | pub fn new(node_id: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_shape` is never used [INFO] [stdout] --> src/models/node.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn with_shape(mut self, shape: NodeShape) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_label` and `with_type` are never used [INFO] [stdout] --> src/models/edge.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Edge { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn with_label(mut self, label: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn with_type(mut self, edge_type: EdgeType) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_alpha`, `BLUE`, `GREEN`, `YELLOW`, `RED`, and `GRAY` are never used [INFO] [stdout] --> src/models/style.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl Color { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub const fn with_alpha(r: u8, g: u8, b: u8, a: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub const BLUE: Self = Self::new(66, 133, 244); [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | pub const GREEN: Self = Self::new(52, 168, 83); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | pub const YELLOW: Self = Self::new(251, 188, 4); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 30 | pub const RED: Self = Self::new(234, 67, 53); [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | pub const GRAY: Self = Self::new(128, 128, 128); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MermaidParser` is never constructed [INFO] [stdout] --> src/parser/mermaid_parser.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MermaidParser; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_mermaid` is never used [INFO] [stdout] --> src/parser/mermaid_parser.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse_mermaid(input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_statement` is never used [INFO] [stdout] --> src/parser/mermaid_parser.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn parse_statement( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_node` is never used [INFO] [stdout] --> src/parser/mermaid_parser.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn parse_node( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_node_content` is never used [INFO] [stdout] --> src/parser/mermaid_parser.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn parse_node_content( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_edge` is never used [INFO] [stdout] --> src/parser/mermaid_parser.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn parse_edge(pair: pest::iterators::Pair, diagram: &mut Diagram) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExportOptions` is never constructed [INFO] [stdout] --> src/renderer/canvas.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ExportOptions { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `export_to_svg` is never used [INFO] [stdout] --> src/renderer/canvas.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn export_to_svg(_diagram: &Diagram, _options: &ExportOptions) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_node_path` is never used [INFO] [stdout] --> src/renderer/node_renderer.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_node_path(node: &Node, scale: f32) -> Vec<[f32; 2]> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_connection_point` is never used [INFO] [stdout] --> src/renderer/node_renderer.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_connection_point(node: &Node, target: [f32; 2]) -> [f32; 2] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_arrow_head_points` is never used [INFO] [stdout] --> src/renderer/edge_renderer.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn get_arrow_head_points( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_dash_pattern` is never used [INFO] [stdout] --> src/renderer/edge_renderer.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get_dash_pattern(edge_type: EdgeType) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_stroke_width` is never used [INFO] [stdout] --> src/renderer/edge_renderer.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_stroke_width(edge_type: EdgeType, base_width: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 54s [INFO] running `Command { std: "docker" "inspect" "85b51c06a5249fe21bcea43be55ce26c79410ffed63472b299574b121434a8ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85b51c06a5249fe21bcea43be55ce26c79410ffed63472b299574b121434a8ed", kill_on_drop: false }` [INFO] [stdout] 85b51c06a5249fe21bcea43be55ce26c79410ffed63472b299574b121434a8ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57ee22c79dd46afff1c7849279baf979ba2a1fdd2fb6002fed3684d4189bdff5 [INFO] running `Command { std: "docker" "start" "-a" "57ee22c79dd46afff1c7849279baf979ba2a1fdd2fb6002fed3684d4189bdff5", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `mermaid_parser::*` [INFO] [stdout] --> src/parser/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use mermaid_parser::*; [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: `canvas::*` [INFO] [stdout] --> src/renderer/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use canvas::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `node_renderer::*` [INFO] [stdout] --> src/renderer/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use node_renderer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `edge_renderer::*` [INFO] [stdout] --> src/renderer/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use edge_renderer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/ui/canvas_view.rs:120:37 [INFO] [stdout] | [INFO] [stdout] 120 | Stroke::new(2.0, Color32::from_rgb(100, 100, 255)), [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/ui/canvas_view.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | Stroke::new(1.0, grid_color), [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/ui/canvas_view.rs:233:29 [INFO] [stdout] | [INFO] [stdout] 233 | Stroke::new(1.0, grid_color), [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_edge` and `get_edge` are never used [INFO] [stdout] --> src/core/diagram.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl Diagram { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn remove_edge(&mut self, edge_id: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn get_edge(&self, edge_id: &str) -> Option<&Edge> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `description` is never used [INFO] [stdout] --> src/core/commands.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Command { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 6 | fn description(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `execute`, `can_undo`, and `can_redo` are never used [INFO] [stdout] --> src/core/commands.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl CommandHistory { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn execute(&mut self, mut command: Box, diagram: &mut Diagram) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn can_undo(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn can_redo(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MoveNodeCommand` is never constructed [INFO] [stdout] --> src/core/commands.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct MoveNodeCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/commands.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl MoveNodeCommand { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 74 | pub fn new(node_id: String, old_position: [f32; 2], new_position: [f32; 2]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AddNodeCommand` is never constructed [INFO] [stdout] --> src/core/commands.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct AddNodeCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/commands.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl AddNodeCommand { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 109 | pub fn new(label: String, position: [f32; 2]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeleteNodeCommand` is never constructed [INFO] [stdout] --> src/core/commands.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct DeleteNodeCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/commands.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl DeleteNodeCommand { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 143 | pub fn new(node_id: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_shape` is never used [INFO] [stdout] --> src/models/node.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn with_shape(mut self, shape: NodeShape) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_label` and `with_type` are never used [INFO] [stdout] --> src/models/edge.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Edge { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn with_label(mut self, label: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn with_type(mut self, edge_type: EdgeType) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_alpha`, `BLUE`, `GREEN`, `YELLOW`, `RED`, and `GRAY` are never used [INFO] [stdout] --> src/models/style.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl Color { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub const fn with_alpha(r: u8, g: u8, b: u8, a: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub const BLUE: Self = Self::new(66, 133, 244); [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | pub const GREEN: Self = Self::new(52, 168, 83); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | pub const YELLOW: Self = Self::new(251, 188, 4); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 30 | pub const RED: Self = Self::new(234, 67, 53); [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | pub const GRAY: Self = Self::new(128, 128, 128); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MermaidParser` is never constructed [INFO] [stdout] --> src/parser/mermaid_parser.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MermaidParser; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_mermaid` is never used [INFO] [stdout] --> src/parser/mermaid_parser.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse_mermaid(input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_statement` is never used [INFO] [stdout] --> src/parser/mermaid_parser.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn parse_statement( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_node` is never used [INFO] [stdout] --> src/parser/mermaid_parser.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn parse_node( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_node_content` is never used [INFO] [stdout] --> src/parser/mermaid_parser.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn parse_node_content( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_edge` is never used [INFO] [stdout] --> src/parser/mermaid_parser.rs:121:4 [INFO] [stdout] | [INFO] [stdout] 121 | fn parse_edge(pair: pest::iterators::Pair, diagram: &mut Diagram) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExportOptions` is never constructed [INFO] [stdout] --> src/renderer/canvas.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ExportOptions { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `export_to_svg` is never used [INFO] [stdout] --> src/renderer/canvas.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn export_to_svg(_diagram: &Diagram, _options: &ExportOptions) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_node_path` is never used [INFO] [stdout] --> src/renderer/node_renderer.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_node_path(node: &Node, scale: f32) -> Vec<[f32; 2]> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_connection_point` is never used [INFO] [stdout] --> src/renderer/node_renderer.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_connection_point(node: &Node, target: [f32; 2]) -> [f32; 2] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_arrow_head_points` is never used [INFO] [stdout] --> src/renderer/edge_renderer.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn get_arrow_head_points( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_dash_pattern` is never used [INFO] [stdout] --> src/renderer/edge_renderer.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get_dash_pattern(edge_type: EdgeType) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_stroke_width` is never used [INFO] [stdout] --> src/renderer/edge_renderer.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_stroke_width(edge_type: EdgeType, base_width: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mermaid-editor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mermaid_parser::*` [INFO] [stdout] --> src/parser/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use mermaid_parser::*; [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: `canvas::*` [INFO] [stdout] --> src/renderer/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use canvas::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `node_renderer::*` [INFO] [stdout] --> src/renderer/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use node_renderer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `edge_renderer::*` [INFO] [stdout] --> src/renderer/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use edge_renderer::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/ui/canvas_view.rs:120:37 [INFO] [stdout] | [INFO] [stdout] 120 | Stroke::new(2.0, Color32::from_rgb(100, 100, 255)), [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/ui/canvas_view.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | Stroke::new(1.0, grid_color), [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/ui/canvas_view.rs:233:29 [INFO] [stdout] | [INFO] [stdout] 233 | Stroke::new(1.0, grid_color), [INFO] [stdout] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_edge` and `get_edge` are never used [INFO] [stdout] --> src/core/diagram.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl Diagram { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn remove_edge(&mut self, edge_id: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn get_edge(&self, edge_id: &str) -> Option<&Edge> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `description` is never used [INFO] [stdout] --> src/core/commands.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Command { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 6 | fn description(&self) -> &str; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `execute`, `can_undo`, and `can_redo` are never used [INFO] [stdout] --> src/core/commands.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl CommandHistory { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn execute(&mut self, mut command: Box, diagram: &mut Diagram) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn can_undo(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn can_redo(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MoveNodeCommand` is never constructed [INFO] [stdout] --> src/core/commands.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct MoveNodeCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/commands.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl MoveNodeCommand { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 74 | pub fn new(node_id: String, old_position: [f32; 2], new_position: [f32; 2]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AddNodeCommand` is never constructed [INFO] [stdout] --> src/core/commands.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct AddNodeCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/commands.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 108 | impl AddNodeCommand { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 109 | pub fn new(label: String, position: [f32; 2]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DeleteNodeCommand` is never constructed [INFO] [stdout] --> src/core/commands.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub struct DeleteNodeCommand { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/commands.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl DeleteNodeCommand { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 143 | pub fn new(node_id: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_shape` is never used [INFO] [stdout] --> src/models/node.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn with_shape(mut self, shape: NodeShape) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_label` and `with_type` are never used [INFO] [stdout] --> src/models/edge.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Edge { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn with_label(mut self, label: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn with_type(mut self, edge_type: EdgeType) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_alpha`, `BLUE`, `GREEN`, `YELLOW`, `RED`, and `GRAY` are never used [INFO] [stdout] --> src/models/style.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl Color { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub const fn with_alpha(r: u8, g: u8, b: u8, a: u8) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub const BLUE: Self = Self::new(66, 133, 244); [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | pub const GREEN: Self = Self::new(52, 168, 83); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | pub const YELLOW: Self = Self::new(251, 188, 4); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 30 | pub const RED: Self = Self::new(234, 67, 53); [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | pub const GRAY: Self = Self::new(128, 128, 128); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExportOptions` is never constructed [INFO] [stdout] --> src/renderer/canvas.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ExportOptions { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `export_to_svg` is never used [INFO] [stdout] --> src/renderer/canvas.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn export_to_svg(_diagram: &Diagram, _options: &ExportOptions) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_node_path` is never used [INFO] [stdout] --> src/renderer/node_renderer.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_node_path(node: &Node, scale: f32) -> Vec<[f32; 2]> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_connection_point` is never used [INFO] [stdout] --> src/renderer/node_renderer.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn get_connection_point(node: &Node, target: [f32; 2]) -> [f32; 2] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_arrow_head_points` is never used [INFO] [stdout] --> src/renderer/edge_renderer.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn get_arrow_head_points( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_dash_pattern` is never used [INFO] [stdout] --> src/renderer/edge_renderer.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn get_dash_pattern(edge_type: EdgeType) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_stroke_width` is never used [INFO] [stdout] --> src/renderer/edge_renderer.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_stroke_width(edge_type: EdgeType, base_width: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.86s [INFO] running `Command { std: "docker" "inspect" "57ee22c79dd46afff1c7849279baf979ba2a1fdd2fb6002fed3684d4189bdff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57ee22c79dd46afff1c7849279baf979ba2a1fdd2fb6002fed3684d4189bdff5", kill_on_drop: false }` [INFO] [stdout] 57ee22c79dd46afff1c7849279baf979ba2a1fdd2fb6002fed3684d4189bdff5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e66268b79f37e541f273479ae0ae1e2efe58a5358638e5c7bdacafafd9bb4fc7 [INFO] running `Command { std: "docker" "start" "-a" "e66268b79f37e541f273479ae0ae1e2efe58a5358638e5c7bdacafafd9bb4fc7", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `mermaid_parser::*` [INFO] [stderr] --> src/parser/mod.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub use mermaid_parser::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `canvas::*` [INFO] [stderr] --> src/renderer/mod.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub use canvas::*; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `node_renderer::*` [INFO] [stderr] --> src/renderer/mod.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | pub use node_renderer::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `edge_renderer::*` [INFO] [stderr] --> src/renderer/mod.rs:7:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub use edge_renderer::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stderr] --> src/ui/canvas_view.rs:120:37 [INFO] [stderr] | [INFO] [stderr] 120 | Stroke::new(2.0, Color32::from_rgb(100, 100, 255)), [INFO] [stderr] | ^^^ help: explicitly specify the type as `f32`: `2.0_f32` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #154024 [INFO] [stderr] = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stderr] --> src/ui/canvas_view.rs:224:29 [INFO] [stderr] | [INFO] [stderr] 224 | Stroke::new(1.0, grid_color), [INFO] [stderr] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #154024 [INFO] [stderr] [INFO] [stderr] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stderr] --> src/ui/canvas_view.rs:233:29 [INFO] [stderr] | [INFO] [stderr] 233 | Stroke::new(1.0, grid_color), [INFO] [stderr] | ^^^ help: explicitly specify the type as `f32`: `1.0_f32` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #154024 [INFO] [stderr] [INFO] [stderr] warning: methods `remove_edge` and `get_edge` are never used [INFO] [stderr] --> src/core/diagram.rs:100:12 [INFO] [stderr] | [INFO] [stderr] 63 | impl Diagram { [INFO] [stderr] | ------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 100 | pub fn remove_edge(&mut self, edge_id: &str) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 112 | pub fn get_edge(&self, edge_id: &str) -> Option<&Edge> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `description` is never used [INFO] [stderr] --> src/core/commands.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub trait Command { [INFO] [stderr] | ------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 6 | fn description(&self) -> &str; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `execute`, `can_undo`, and `can_redo` are never used [INFO] [stderr] --> src/core/commands.rs:28:12 [INFO] [stderr] | [INFO] [stderr] 20 | impl CommandHistory { [INFO] [stderr] | ------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 28 | pub fn execute(&mut self, mut command: Box, diagram: &mut Diagram) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 57 | pub fn can_undo(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 61 | pub fn can_redo(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MoveNodeCommand` is never constructed [INFO] [stderr] --> src/core/commands.rs:67:12 [INFO] [stderr] | [INFO] [stderr] 67 | pub struct MoveNodeCommand { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/core/commands.rs:74:12 [INFO] [stderr] | [INFO] [stderr] 73 | impl MoveNodeCommand { [INFO] [stderr] | -------------------- associated function in this implementation [INFO] [stderr] 74 | pub fn new(node_id: String, old_position: [f32; 2], new_position: [f32; 2]) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `AddNodeCommand` is never constructed [INFO] [stderr] --> src/core/commands.rs:102:12 [INFO] [stderr] | [INFO] [stderr] 102 | pub struct AddNodeCommand { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/core/commands.rs:109:12 [INFO] [stderr] | [INFO] [stderr] 108 | impl AddNodeCommand { [INFO] [stderr] | ------------------- associated function in this implementation [INFO] [stderr] 109 | pub fn new(label: String, position: [f32; 2]) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `DeleteNodeCommand` is never constructed [INFO] [stderr] --> src/core/commands.rs:136:12 [INFO] [stderr] | [INFO] [stderr] 136 | pub struct DeleteNodeCommand { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/core/commands.rs:143:12 [INFO] [stderr] | [INFO] [stderr] 142 | impl DeleteNodeCommand { [INFO] [stderr] | ---------------------- associated function in this implementation [INFO] [stderr] 143 | pub fn new(node_id: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: method `with_shape` is never used [INFO] [stderr] --> src/models/node.rs:53:12 [INFO] [stderr] | [INFO] [stderr] 35 | impl Node { [INFO] [stderr] | --------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 53 | pub fn with_shape(mut self, shape: NodeShape) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `with_label` and `with_type` are never used [INFO] [stderr] --> src/models/edge.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 32 | impl Edge { [INFO] [stderr] | --------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 45 | pub fn with_label(mut self, label: impl Into) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 50 | pub fn with_type(mut self, edge_type: EdgeType) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `with_alpha`, `BLUE`, `GREEN`, `YELLOW`, `RED`, and `GRAY` are never used [INFO] [stderr] --> src/models/style.rs:16:18 [INFO] [stderr] | [INFO] [stderr] 11 | impl Color { [INFO] [stderr] | ---------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 16 | pub const fn with_alpha(r: u8, g: u8, b: u8, a: u8) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | pub const BLUE: Self = Self::new(66, 133, 244); [INFO] [stderr] | ^^^^ [INFO] [stderr] 28 | pub const GREEN: Self = Self::new(52, 168, 83); [INFO] [stderr] | ^^^^^ [INFO] [stderr] 29 | pub const YELLOW: Self = Self::new(251, 188, 4); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 30 | pub const RED: Self = Self::new(234, 67, 53); [INFO] [stderr] | ^^^ [INFO] [stderr] 31 | pub const GRAY: Self = Self::new(128, 128, 128); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MermaidParser` is never constructed [INFO] [stderr] --> src/parser/mermaid_parser.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct MermaidParser; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_mermaid` is never used [INFO] [stderr] --> src/parser/mermaid_parser.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn parse_mermaid(input: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_statement` is never used [INFO] [stderr] --> src/parser/mermaid_parser.rs:47:4 [INFO] [stderr] | [INFO] [stderr] 47 | fn parse_statement( [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_node` is never used [INFO] [stderr] --> src/parser/mermaid_parser.rs:67:4 [INFO] [stderr] | [INFO] [stderr] 67 | fn parse_node( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_node_content` is never used [INFO] [stderr] --> src/parser/mermaid_parser.rs:95:4 [INFO] [stderr] | [INFO] [stderr] 95 | fn parse_node_content( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_edge` is never used [INFO] [stderr] --> src/parser/mermaid_parser.rs:121:4 [INFO] [stderr] | [INFO] [stderr] 121 | fn parse_edge(pair: pest::iterators::Pair, diagram: &mut Diagram) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ExportOptions` is never constructed [INFO] [stderr] --> src/renderer/canvas.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct ExportOptions { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `export_to_svg` is never used [INFO] [stderr] --> src/renderer/canvas.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn export_to_svg(_diagram: &Diagram, _options: &ExportOptions) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_node_path` is never used [INFO] [stderr] --> src/renderer/node_renderer.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn get_node_path(node: &Node, scale: f32) -> Vec<[f32; 2]> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_connection_point` is never used [INFO] [stderr] --> src/renderer/node_renderer.rs:51:8 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn get_connection_point(node: &Node, target: [f32; 2]) -> [f32; 2] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_arrow_head_points` is never used [INFO] [stderr] --> src/renderer/edge_renderer.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn get_arrow_head_points( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_dash_pattern` is never used [INFO] [stderr] --> src/renderer/edge_renderer.rs:37:8 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn get_dash_pattern(edge_type: EdgeType) -> Option> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_stroke_width` is never used [INFO] [stderr] --> src/renderer/edge_renderer.rs:44:8 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn get_stroke_width(edge_type: EdgeType, base_width: f32) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `mermaid-editor` (lib) generated 32 warnings (run `cargo fix --lib -p mermaid-editor` to apply 7 suggestions) [INFO] [stderr] warning: `mermaid-editor` (lib test) generated 26 warnings (26 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mermaid_editor-e01f082536eb58c6) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test parser::mermaid_parser::tests::test_parse_simple_flowchart ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mermaid_editor-05779c451fcf063f) [INFO] [stdout] [INFO] [stderr] Doc-tests mermaid_editor [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e66268b79f37e541f273479ae0ae1e2efe58a5358638e5c7bdacafafd9bb4fc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e66268b79f37e541f273479ae0ae1e2efe58a5358638e5c7bdacafafd9bb4fc7", kill_on_drop: false }` [INFO] [stdout] e66268b79f37e541f273479ae0ae1e2efe58a5358638e5c7bdacafafd9bb4fc7