[INFO] cloning repository https://github.com/wleklinskimateusz/smc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wleklinskimateusz/smc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwleklinskimateusz%2Fsmc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwleklinskimateusz%2Fsmc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b0429fbfde94ef3f38d8f80f3c328f15effc713 [INFO] building wleklinskimateusz/smc against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwleklinskimateusz%2Fsmc" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wleklinskimateusz/smc on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wleklinskimateusz/smc [INFO] finished tweaking git repo https://github.com/wleklinskimateusz/smc [INFO] tweaked toml for git repo https://github.com/wleklinskimateusz/smc written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/wleklinskimateusz/smc 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd6b6734935bc27ee7707b2c5ba5bfa4b5e6b5ec7f85f80722c09651e04ed75f [INFO] running `Command { std: "docker" "start" "-a" "dd6b6734935bc27ee7707b2c5ba5bfa4b5e6b5ec7f85f80722c09651e04ed75f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd6b6734935bc27ee7707b2c5ba5bfa4b5e6b5ec7f85f80722c09651e04ed75f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd6b6734935bc27ee7707b2c5ba5bfa4b5e6b5ec7f85f80722c09651e04ed75f", kill_on_drop: false }` [INFO] [stdout] dd6b6734935bc27ee7707b2c5ba5bfa4b5e6b5ec7f85f80722c09651e04ed75f [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d953ce688d343925fa905b86a021b511af1e2c4b73d468cab7cafc6f490bf87 [INFO] running `Command { std: "docker" "start" "-a" "9d953ce688d343925fa905b86a021b511af1e2c4b73d468cab7cafc6f490bf87", kill_on_drop: false }` [INFO] [stderr] Compiling smc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/parser/syntax_builder.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | state: super::parser::ParserState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/parser/syntax_builder.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | event: super::parser::ParserEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/parser/syntax_builder.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | line: u32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/parser/syntax_builder.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | position: u32, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/parser/syntax_builder.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | state: super::parser::ParserState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/parser/syntax_builder.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | event: super::parser::ParserEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/parser/syntax_builder.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | line: u32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/parser/syntax_builder.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | position: u32, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/parser/syntax_builder.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | state: super::parser::ParserState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/parser/syntax_builder.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | event: super::parser::ParserEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/parser/syntax_builder.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | line: u32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/parser/syntax_builder.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | position: u32, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/parser/syntax_builder.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | state: super::parser::ParserState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/parser/syntax_builder.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | event: super::parser::ParserEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/parser/syntax_builder.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | line: u32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/parser/syntax_builder.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | position: u32, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/parser/syntax_builder.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | state: super::parser::ParserState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/parser/syntax_builder.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | event: super::parser::ParserEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/parser/syntax_builder.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | line: u32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/parser/syntax_builder.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | position: u32, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/parser/syntax_builder.rs:159:32 [INFO] [stdout] | [INFO] [stdout] 159 | fn syntax_error(&mut self, line: u32, position: u32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/parser/syntax_builder.rs:159:43 [INFO] [stdout] | [INFO] [stdout] 159 | fn syntax_error(&mut self, line: u32, position: u32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/parser/syntax_builder.rs:163:28 [INFO] [stdout] | [INFO] [stdout] 163 | fn set_name(&mut self, name: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/parser/lexical_analyzer.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait TokenCollector { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 4 | fn open_brace(&mut self, line: u32, position: u32); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | fn close_brace(&mut self, line: u32, position: u32); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 6 | fn open_parenthesis(&mut self, line: u32, position: u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | fn close_parenthesis(&mut self, line: u32, position: u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | fn open_angle_bracket(&mut self, line: u32, position: u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | fn close_angle_bracket(&mut self, line: u32, position: u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | fn dash(&mut self, line: u32, position: u32); [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | fn colon(&mut self, line: u32, position: u32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | fn name(&mut self, name: &str, line: u32, position: u32); [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | fn error(&mut self, line: u32, position: u32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LexicalAnalyzer` is never constructed [INFO] [stdout] --> src/parser/lexical_analyzer.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct LexicalAnalyzer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/parser/lexical_analyzer.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl LexicalAnalyzer { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 23 | pub fn new(collector: Box) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn lex(&mut self, s: &str) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn lex_line(&mut self, line: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn find_token(&mut self, line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn find_whitespace(&mut self, line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn find_single_char_token(&mut self, line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | fn find_name(&mut self, line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `subtransition` is never read [INFO] [stdout] --> src/parser/syntax_builder.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SyntaxBuilder<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | subtransition: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "9d953ce688d343925fa905b86a021b511af1e2c4b73d468cab7cafc6f490bf87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d953ce688d343925fa905b86a021b511af1e2c4b73d468cab7cafc6f490bf87", kill_on_drop: false }` [INFO] [stdout] 9d953ce688d343925fa905b86a021b511af1e2c4b73d468cab7cafc6f490bf87 [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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be5d72ba9d569c864823e363090d575c85dd589b8fac20ca7b5e7ca019e2ca52 [INFO] running `Command { std: "docker" "start" "-a" "be5d72ba9d569c864823e363090d575c85dd589b8fac20ca7b5e7ca019e2ca52", kill_on_drop: false }` [INFO] [stderr] Compiling smc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/parser/lexical_analyzer.rs:196:38 [INFO] [stdout] | [INFO] [stdout] 196 | fn open_brace(&mut self, line: u32, position: u32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/parser/lexical_analyzer.rs:196:49 [INFO] [stdout] | [INFO] [stdout] 196 | fn open_brace(&mut self, line: u32, position: u32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/parser/lexical_analyzer.rs:201:39 [INFO] [stdout] | [INFO] [stdout] 201 | fn close_brace(&mut self, line: u32, position: u32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/parser/lexical_analyzer.rs:201:50 [INFO] [stdout] | [INFO] [stdout] 201 | fn close_brace(&mut self, line: u32, position: u32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/parser/lexical_analyzer.rs:206:44 [INFO] [stdout] | [INFO] [stdout] 206 | fn open_parenthesis(&mut self, line: u32, position: u32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/parser/lexical_analyzer.rs:206:55 [INFO] [stdout] | [INFO] [stdout] 206 | fn open_parenthesis(&mut self, line: u32, position: u32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/parser/lexical_analyzer.rs:211:45 [INFO] [stdout] | [INFO] [stdout] 211 | fn close_parenthesis(&mut self, line: u32, position: u32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/parser/lexical_analyzer.rs:211:56 [INFO] [stdout] | [INFO] [stdout] 211 | fn close_parenthesis(&mut self, line: u32, position: u32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/parser/lexical_analyzer.rs:216:46 [INFO] [stdout] | [INFO] [stdout] 216 | fn open_angle_bracket(&mut self, line: u32, position: u32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/parser/lexical_analyzer.rs:216:57 [INFO] [stdout] | [INFO] [stdout] 216 | fn open_angle_bracket(&mut self, line: u32, position: u32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/parser/lexical_analyzer.rs:221:47 [INFO] [stdout] | [INFO] [stdout] 221 | fn close_angle_bracket(&mut self, line: u32, position: u32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/parser/lexical_analyzer.rs:221:58 [INFO] [stdout] | [INFO] [stdout] 221 | fn close_angle_bracket(&mut self, line: u32, position: u32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/parser/lexical_analyzer.rs:226:32 [INFO] [stdout] | [INFO] [stdout] 226 | fn dash(&mut self, line: u32, position: u32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/parser/lexical_analyzer.rs:226:43 [INFO] [stdout] | [INFO] [stdout] 226 | fn dash(&mut self, line: u32, position: u32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/parser/lexical_analyzer.rs:231:33 [INFO] [stdout] | [INFO] [stdout] 231 | fn colon(&mut self, line: u32, position: u32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/parser/lexical_analyzer.rs:231:44 [INFO] [stdout] | [INFO] [stdout] 231 | fn colon(&mut self, line: u32, position: u32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/parser/lexical_analyzer.rs:236:44 [INFO] [stdout] | [INFO] [stdout] 236 | fn name(&mut self, name: &str, line: u32, position: u32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/parser/lexical_analyzer.rs:236:55 [INFO] [stdout] | [INFO] [stdout] 236 | fn name(&mut self, name: &str, line: u32, position: u32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/parser/lexical_analyzer.rs:241:33 [INFO] [stdout] | [INFO] [stdout] 241 | fn error(&mut self, line: u32, position: u32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/parser/lexical_analyzer.rs:241:44 [INFO] [stdout] | [INFO] [stdout] 241 | fn error(&mut self, line: u32, position: u32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/parser/syntax_builder.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | state: super::parser::ParserState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/parser/syntax_builder.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | event: super::parser::ParserEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/parser/syntax_builder.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | line: u32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/parser/syntax_builder.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | position: u32, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/parser/syntax_builder.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | state: super::parser::ParserState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/parser/syntax_builder.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | event: super::parser::ParserEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/parser/syntax_builder.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | line: u32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/parser/syntax_builder.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | position: u32, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/parser/syntax_builder.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | state: super::parser::ParserState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/parser/syntax_builder.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | event: super::parser::ParserEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/parser/syntax_builder.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | line: u32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/parser/syntax_builder.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | position: u32, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/parser/syntax_builder.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | state: super::parser::ParserState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/parser/syntax_builder.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | event: super::parser::ParserEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/parser/syntax_builder.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 143 | line: u32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/parser/syntax_builder.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | position: u32, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/parser/syntax_builder.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | state: super::parser::ParserState, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/parser/syntax_builder.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | event: super::parser::ParserEvent, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/parser/syntax_builder.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | line: u32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/parser/syntax_builder.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | position: u32, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/parser/syntax_builder.rs:159:32 [INFO] [stdout] | [INFO] [stdout] 159 | fn syntax_error(&mut self, line: u32, position: u32) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/parser/syntax_builder.rs:159:43 [INFO] [stdout] | [INFO] [stdout] 159 | fn syntax_error(&mut self, line: u32, position: u32) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/parser/syntax_builder.rs:163:28 [INFO] [stdout] | [INFO] [stdout] 163 | fn set_name(&mut self, name: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `subtransition` is never read [INFO] [stdout] --> src/parser/syntax_builder.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SyntaxBuilder<'a> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | subtransition: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] running `Command { std: "docker" "inspect" "be5d72ba9d569c864823e363090d575c85dd589b8fac20ca7b5e7ca019e2ca52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be5d72ba9d569c864823e363090d575c85dd589b8fac20ca7b5e7ca019e2ca52", kill_on_drop: false }` [INFO] [stdout] be5d72ba9d569c864823e363090d575c85dd589b8fac20ca7b5e7ca019e2ca52