[INFO] cloning repository https://github.com/justsml/rusty-mermaid [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justsml/rusty-mermaid" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustsml%2Frusty-mermaid", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustsml%2Frusty-mermaid'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ce95d8ddb8323006b6dd8ddbc616c2478c3827aa [INFO] checking justsml/rusty-mermaid against master#fc5af1813307d25a84d633f21e2e53c9376eb547 for pr-144386 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustsml%2Frusty-mermaid" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/justsml/rusty-mermaid [INFO] finished tweaking git repo https://github.com/justsml/rusty-mermaid [INFO] tweaked toml for git repo https://github.com/justsml/rusty-mermaid written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/justsml/rusty-mermaid on toolchain fc5af1813307d25a84d633f21e2e53c9376eb547 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/justsml/rusty-mermaid 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" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 895be64067da7325ebc694d98679bb45c5b081d37e5545c64e286b648777028c [INFO] running `Command { std: "docker" "start" "-a" "895be64067da7325ebc694d98679bb45c5b081d37e5545c64e286b648777028c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "895be64067da7325ebc694d98679bb45c5b081d37e5545c64e286b648777028c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "895be64067da7325ebc694d98679bb45c5b081d37e5545c64e286b648777028c", kill_on_drop: false }` [INFO] [stdout] 895be64067da7325ebc694d98679bb45c5b081d37e5545c64e286b648777028c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 038fab0aa67ad2458fa98417a6b394968602c2b21634ecc30f6a9818f94f2d36 [INFO] running `Command { std: "docker" "start" "-a" "038fab0aa67ad2458fa98417a6b394968602c2b21634ecc30f6a9818f94f2d36", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking predicates-core v1.0.9 [INFO] [stderr] Checking clap_builder v4.5.39 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Compiling assert_cmd v2.0.17 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking float-cmp v0.10.0 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking predicates-tree v1.0.12 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking insta v1.43.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.50 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking clap v4.5.39 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.50 [INFO] [stderr] Checking wasm-bindgen-test v0.3.50 [INFO] [stderr] Checking rusty-mermaid v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parser.rs:332:23 [INFO] [stdout] | [INFO] [stdout] 332 | fn parse_graph(&self, input: &str, lines: &[&str], line_map: &mut HashMap) -> Result, Validati... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parser.rs:332:23 [INFO] [stdout] | [INFO] [stdout] 332 | fn parse_graph(&self, input: &str, lines: &[&str], line_map: &mut HashMap) -> Result, Validati... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:416:42 [INFO] [stdout] | [INFO] [stdout] 416 | fn try_parse_node(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:519:46 [INFO] [stdout] | [INFO] [stdout] 519 | fn try_parse_classdef(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:416:42 [INFO] [stdout] | [INFO] [stdout] 416 | fn try_parse_node(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:539:43 [INFO] [stdout] | [INFO] [stdout] 539 | fn try_parse_style(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parser.rs:559:38 [INFO] [stdout] | [INFO] [stdout] 559 | fn parse_sequence_diagram(&self, input: &str, lines: &[&str], line_map: &mut HashMap) -> Result src/parser.rs:595:45 [INFO] [stdout] | [INFO] [stdout] 595 | fn parse_participant(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:611:54 [INFO] [stdout] | [INFO] [stdout] 611 | fn try_parse_sequence_message(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:519:46 [INFO] [stdout] | [INFO] [stdout] 519 | fn try_parse_classdef(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:539:43 [INFO] [stdout] | [INFO] [stdout] 539 | fn try_parse_style(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:646:47 [INFO] [stdout] | [INFO] [stdout] 646 | fn parse_sequence_note(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parser.rs:667:35 [INFO] [stdout] | [INFO] [stdout] 667 | fn parse_class_diagram(&self, input: &str, lines: &[&str], line_map: &mut HashMap) -> Result src/parser.rs:667:64 [INFO] [stdout] | [INFO] [stdout] 667 | ...put: &str, lines: &[&str], line_map: &mut HashMap) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:693:50 [INFO] [stdout] | [INFO] [stdout] 693 | fn parse_class_definition(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:713:56 [INFO] [stdout] | [INFO] [stdout] 713 | fn try_parse_class_relationship(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parser.rs:750:35 [INFO] [stdout] | [INFO] [stdout] 750 | fn parse_state_diagram(&self, input: &str, lines: &[&str], line_map: &mut HashMap) -> Result src/parser.rs:750:64 [INFO] [stdout] | [INFO] [stdout] 750 | ...put: &str, lines: &[&str], line_map: &mut HashMap) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parser.rs:559:38 [INFO] [stdout] | [INFO] [stdout] 559 | fn parse_sequence_diagram(&self, input: &str, lines: &[&str], line_map: &mut HashMap) -> Result src/parser.rs:595:45 [INFO] [stdout] | [INFO] [stdout] 595 | fn parse_participant(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:611:54 [INFO] [stdout] | [INFO] [stdout] 611 | fn try_parse_sequence_message(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:646:47 [INFO] [stdout] | [INFO] [stdout] 646 | fn parse_sequence_note(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parser.rs:667:35 [INFO] [stdout] | [INFO] [stdout] 667 | fn parse_class_diagram(&self, input: &str, lines: &[&str], line_map: &mut HashMap) -> Result src/parser.rs:667:64 [INFO] [stdout] | [INFO] [stdout] 667 | ...put: &str, lines: &[&str], line_map: &mut HashMap) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:693:50 [INFO] [stdout] | [INFO] [stdout] 693 | fn parse_class_definition(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:776:54 [INFO] [stdout] | [INFO] [stdout] 776 | fn try_parse_state_transition(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:794:54 [INFO] [stdout] | [INFO] [stdout] 794 | fn try_parse_state_definition(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:713:56 [INFO] [stdout] | [INFO] [stdout] 713 | fn try_parse_class_relationship(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parser.rs:750:35 [INFO] [stdout] | [INFO] [stdout] 750 | fn parse_state_diagram(&self, input: &str, lines: &[&str], line_map: &mut HashMap) -> Result src/parser.rs:750:64 [INFO] [stdout] | [INFO] [stdout] 750 | ...put: &str, lines: &[&str], line_map: &mut HashMap) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:776:54 [INFO] [stdout] | [INFO] [stdout] 776 | fn try_parse_state_transition(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:794:54 [INFO] [stdout] | [INFO] [stdout] 794 | fn try_parse_state_definition(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/validator.rs:77:91 [INFO] [stdout] | [INFO] [stdout] 77 | fn validate_graph(&mut self, diagram: &MermaidDiagram, result: &mut ValidationResult, source: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/validator.rs:146:102 [INFO] [stdout] | [INFO] [stdout] 146 | fn validate_sequence_diagram(&mut self, diagram: &MermaidDiagram, result: &mut ValidationResult, source: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `members` [INFO] [stdout] --> src/validator.rs:279:49 [INFO] [stdout] | [INFO] [stdout] 279 | ClassElement::Class { name, members, methods } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `members: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `methods` [INFO] [stdout] --> src/validator.rs:279:58 [INFO] [stdout] | [INFO] [stdout] 279 | ClassElement::Class { name, members, methods } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `methods: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/validator.rs:236:99 [INFO] [stdout] | [INFO] [stdout] 236 | fn validate_class_diagram(&mut self, diagram: &MermaidDiagram, result: &mut ValidationResult, source: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/validator.rs:299:99 [INFO] [stdout] | [INFO] [stdout] 299 | fn validate_state_diagram(&mut self, diagram: &MermaidDiagram, result: &mut ValidationResult, source: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/validator.rs:77:91 [INFO] [stdout] | [INFO] [stdout] 77 | fn validate_graph(&mut self, diagram: &MermaidDiagram, result: &mut ValidationResult, source: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/validator.rs:146:102 [INFO] [stdout] | [INFO] [stdout] 146 | fn validate_sequence_diagram(&mut self, diagram: &MermaidDiagram, result: &mut ValidationResult, source: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `members` [INFO] [stdout] --> src/validator.rs:279:49 [INFO] [stdout] | [INFO] [stdout] 279 | ClassElement::Class { name, members, methods } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `members: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `methods` [INFO] [stdout] --> src/validator.rs:279:58 [INFO] [stdout] | [INFO] [stdout] 279 | ClassElement::Class { name, members, methods } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `methods: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/validator.rs:236:99 [INFO] [stdout] | [INFO] [stdout] 236 | fn validate_class_diagram(&mut self, diagram: &MermaidDiagram, result: &mut ValidationResult, source: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/validator.rs:299:99 [INFO] [stdout] | [INFO] [stdout] 299 | fn validate_state_diagram(&mut self, diagram: &MermaidDiagram, result: &mut ValidationResult, source: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_binary_path` is never used [INFO] [stdout] --> tests/integration_test.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn get_binary_path() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parser.rs:332:23 [INFO] [stdout] | [INFO] [stdout] 332 | fn parse_graph(&self, input: &str, lines: &[&str], line_map: &mut HashMap) -> Result, Validati... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:416:42 [INFO] [stdout] | [INFO] [stdout] 416 | fn try_parse_node(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:519:46 [INFO] [stdout] | [INFO] [stdout] 519 | fn try_parse_classdef(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:539:43 [INFO] [stdout] | [INFO] [stdout] 539 | fn try_parse_style(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parser.rs:559:38 [INFO] [stdout] | [INFO] [stdout] 559 | fn parse_sequence_diagram(&self, input: &str, lines: &[&str], line_map: &mut HashMap) -> Result src/parser.rs:595:45 [INFO] [stdout] | [INFO] [stdout] 595 | fn parse_participant(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:611:54 [INFO] [stdout] | [INFO] [stdout] 611 | fn try_parse_sequence_message(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:646:47 [INFO] [stdout] | [INFO] [stdout] 646 | fn parse_sequence_note(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parser.rs:667:35 [INFO] [stdout] | [INFO] [stdout] 667 | fn parse_class_diagram(&self, input: &str, lines: &[&str], line_map: &mut HashMap) -> Result src/parser.rs:667:64 [INFO] [stdout] | [INFO] [stdout] 667 | ...put: &str, lines: &[&str], line_map: &mut HashMap) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:693:50 [INFO] [stdout] | [INFO] [stdout] 693 | fn parse_class_definition(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:713:56 [INFO] [stdout] | [INFO] [stdout] 713 | fn try_parse_class_relationship(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parser.rs:750:35 [INFO] [stdout] | [INFO] [stdout] 750 | fn parse_state_diagram(&self, input: &str, lines: &[&str], line_map: &mut HashMap) -> Result src/parser.rs:750:64 [INFO] [stdout] | [INFO] [stdout] 750 | ...put: &str, lines: &[&str], line_map: &mut HashMap) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:776:54 [INFO] [stdout] | [INFO] [stdout] 776 | fn try_parse_state_transition(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:794:54 [INFO] [stdout] | [INFO] [stdout] 794 | fn try_parse_state_definition(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/validator.rs:77:91 [INFO] [stdout] | [INFO] [stdout] 77 | fn validate_graph(&mut self, diagram: &MermaidDiagram, result: &mut ValidationResult, source: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parser.rs:332:23 [INFO] [stdout] | [INFO] [stdout] 332 | fn parse_graph(&self, input: &str, lines: &[&str], line_map: &mut HashMap) -> Result, Validati... [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/validator.rs:146:102 [INFO] [stdout] | [INFO] [stdout] 146 | fn validate_sequence_diagram(&mut self, diagram: &MermaidDiagram, result: &mut ValidationResult, source: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:416:42 [INFO] [stdout] | [INFO] [stdout] 416 | fn try_parse_node(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `members` [INFO] [stdout] --> src/validator.rs:279:49 [INFO] [stdout] | [INFO] [stdout] 279 | ClassElement::Class { name, members, methods } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `members: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `methods` [INFO] [stdout] --> src/validator.rs:279:58 [INFO] [stdout] | [INFO] [stdout] 279 | ClassElement::Class { name, members, methods } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `methods: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/validator.rs:236:99 [INFO] [stdout] | [INFO] [stdout] 236 | fn validate_class_diagram(&mut self, diagram: &MermaidDiagram, result: &mut ValidationResult, source: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/validator.rs:299:99 [INFO] [stdout] | [INFO] [stdout] 299 | fn validate_state_diagram(&mut self, diagram: &MermaidDiagram, result: &mut ValidationResult, source: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:519:46 [INFO] [stdout] | [INFO] [stdout] 519 | fn try_parse_classdef(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:539:43 [INFO] [stdout] | [INFO] [stdout] 539 | fn try_parse_style(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parser.rs:559:38 [INFO] [stdout] | [INFO] [stdout] 559 | fn parse_sequence_diagram(&self, input: &str, lines: &[&str], line_map: &mut HashMap) -> Result src/parser.rs:595:45 [INFO] [stdout] | [INFO] [stdout] 595 | fn parse_participant(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:611:54 [INFO] [stdout] | [INFO] [stdout] 611 | fn try_parse_sequence_message(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:646:47 [INFO] [stdout] | [INFO] [stdout] 646 | fn parse_sequence_note(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parser.rs:667:35 [INFO] [stdout] | [INFO] [stdout] 667 | fn parse_class_diagram(&self, input: &str, lines: &[&str], line_map: &mut HashMap) -> Result src/parser.rs:667:64 [INFO] [stdout] | [INFO] [stdout] 667 | ...put: &str, lines: &[&str], line_map: &mut HashMap) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:693:50 [INFO] [stdout] | [INFO] [stdout] 693 | fn parse_class_definition(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:713:56 [INFO] [stdout] | [INFO] [stdout] 713 | fn try_parse_class_relationship(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parser.rs:750:35 [INFO] [stdout] | [INFO] [stdout] 750 | fn parse_state_diagram(&self, input: &str, lines: &[&str], line_map: &mut HashMap) -> Result src/parser.rs:750:64 [INFO] [stdout] | [INFO] [stdout] 750 | ...put: &str, lines: &[&str], line_map: &mut HashMap) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:776:54 [INFO] [stdout] | [INFO] [stdout] 776 | fn try_parse_state_transition(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_num` [INFO] [stdout] --> src/parser.rs:794:54 [INFO] [stdout] | [INFO] [stdout] 794 | fn try_parse_state_definition(&self, line: &str, line_num: usize) -> Result, ValidationError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/validator.rs:77:91 [INFO] [stdout] | [INFO] [stdout] 77 | fn validate_graph(&mut self, diagram: &MermaidDiagram, result: &mut ValidationResult, source: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/validator.rs:146:102 [INFO] [stdout] | [INFO] [stdout] 146 | fn validate_sequence_diagram(&mut self, diagram: &MermaidDiagram, result: &mut ValidationResult, source: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `members` [INFO] [stdout] --> src/validator.rs:279:49 [INFO] [stdout] | [INFO] [stdout] 279 | ClassElement::Class { name, members, methods } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `members: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `methods` [INFO] [stdout] --> src/validator.rs:279:58 [INFO] [stdout] | [INFO] [stdout] 279 | ClassElement::Class { name, members, methods } => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `methods: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/validator.rs:236:99 [INFO] [stdout] | [INFO] [stdout] 236 | fn validate_class_diagram(&mut self, diagram: &MermaidDiagram, result: &mut ValidationResult, source: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/validator.rs:299:99 [INFO] [stdout] | [INFO] [stdout] 299 | fn validate_state_diagram(&mut self, diagram: &MermaidDiagram, result: &mut ValidationResult, source: &str) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.10s [INFO] running `Command { std: "docker" "inspect" "038fab0aa67ad2458fa98417a6b394968602c2b21634ecc30f6a9818f94f2d36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "038fab0aa67ad2458fa98417a6b394968602c2b21634ecc30f6a9818f94f2d36", kill_on_drop: false }` [INFO] [stdout] 038fab0aa67ad2458fa98417a6b394968602c2b21634ecc30f6a9818f94f2d36