[INFO] cloning repository https://github.com/sn0wball-lang/sn0wball [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sn0wball-lang/sn0wball" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsn0wball-lang%2Fsn0wball", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsn0wball-lang%2Fsn0wball'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d1327f8a5509392293f7cb1c132613677753de19 [INFO] checking sn0wball-lang/sn0wball against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsn0wball-lang%2Fsn0wball" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sn0wball-lang/sn0wball on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sn0wball-lang/sn0wball [INFO] finished tweaking git repo https://github.com/sn0wball-lang/sn0wball [INFO] tweaked toml for git repo https://github.com/sn0wball-lang/sn0wball written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/sn0wball-lang/sn0wball already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b571aae60cc716dd2907a789f29a949f373994e155f5bf566d2f3f4026c7a714 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b571aae60cc716dd2907a789f29a949f373994e155f5bf566d2f3f4026c7a714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b571aae60cc716dd2907a789f29a949f373994e155f5bf566d2f3f4026c7a714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b571aae60cc716dd2907a789f29a949f373994e155f5bf566d2f3f4026c7a714", kill_on_drop: false }` [INFO] [stdout] b571aae60cc716dd2907a789f29a949f373994e155f5bf566d2f3f4026c7a714 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c442f79078400b6d877cf63c4b93bff582c3815092d721bf52fce238bd99c0b5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c442f79078400b6d877cf63c4b93bff582c3815092d721bf52fce238bd99c0b5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Compiling pest_meta v2.1.2 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Checking rustyline v5.0.4 [INFO] [stderr] Compiling pest_generator v2.1.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking sn0wball v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `pest::Parser` [INFO] [stdout] --> src/parser/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use pest::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SyntaxParser` [INFO] [stdout] --> src/parser/ast/mod.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::parser::{Rule, SyntaxParser}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pest::iterators::Pair` [INFO] [stdout] --> src/parser/ast/ast.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pest::iterators::Pair; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pest::iterators::Pair` [INFO] [stdout] --> src/parser/ast/ast.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pest::iterators::Pair; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pest::Parser` [INFO] [stdout] --> src/parser/ast/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use pest::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parser/ast/ast.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | _ => unimplemented!("{} Display", self.expression_type()), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/parser/ast/mod.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn create_ast(&self, program: Pair) -> ast::Program { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method_call` [INFO] [stdout] --> src/parser/ast/mod.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | method_call: Pair, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_method_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/parser/ast/mod.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | inner: Expression, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/parser/ast/ast.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | condition, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `condition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `then_block` [INFO] [stdout] --> src/parser/ast/ast.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | then_block, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `then_block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `else_block` [INFO] [stdout] --> src/parser/ast/ast.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | else_block, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `else_block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variable_type` [INFO] [stdout] --> src/parser/ast/ast.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | variable_type, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `variable_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identifier` [INFO] [stdout] --> src/parser/ast/ast.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | identifier, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `identifier: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> src/parser/ast/ast.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | expression, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `expression: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identifier` [INFO] [stdout] --> src/parser/ast/ast.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | identifier, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `identifier: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> src/parser/ast/ast.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | parameters, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/parser/ast/ast.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | output, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/parser/ast/ast.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | body, [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operator` [INFO] [stdout] --> src/parser/ast/ast.rs:138:34 [INFO] [stdout] | [INFO] [stdout] 138 | Expression::Prefix { operator, right } => "PREFIX", [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `operator: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/parser/ast/ast.rs:138:44 [INFO] [stdout] | [INFO] [stdout] 138 | Expression::Prefix { operator, right } => "PREFIX", [INFO] [stdout] | ^^^^^ help: try ignoring the field: `right: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/parser/ast/ast.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | left, [INFO] [stdout] | ^^^^ help: try ignoring the field: `left: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operator` [INFO] [stdout] --> src/parser/ast/ast.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | operator, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `operator: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/parser/ast/ast.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | right, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `right: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identifier` [INFO] [stdout] --> src/parser/ast/ast.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | identifier, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `identifier: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> src/parser/ast/ast.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | arguments, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `arguments: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> src/parser/ast/ast.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | parameters, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/parser/ast/ast.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | output, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/parser/ast/ast.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | body, [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/parser/ast/ast.rs:153:34 [INFO] [stdout] | [INFO] [stdout] 153 | Expression::Method { left, call } => "METHOD", [INFO] [stdout] | ^^^^ help: try ignoring the field: `left: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call` [INFO] [stdout] --> src/parser/ast/ast.rs:153:40 [INFO] [stdout] | [INFO] [stdout] 153 | Expression::Method { left, call } => "METHOD", [INFO] [stdout] | ^^^^ help: try ignoring the field: `call: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/parser/ast/ast.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | body, [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/parser/ast/ast.rs:206:34 [INFO] [stdout] | [INFO] [stdout] 206 | Expression::Method { left, call } => write!(f, "METHOD IS NOT IMPLEMENTED YET"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `left: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call` [INFO] [stdout] --> src/parser/ast/ast.rs:206:40 [INFO] [stdout] | [INFO] [stdout] 206 | Expression::Method { left, call } => write!(f, "METHOD IS NOT IMPLEMENTED YET"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `call: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/parser/ast/ast.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | _ => unimplemented!("{} Display", self.expression_type()), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `program` [INFO] [stdout] --> src/parser/ast/mod.rs:20:30 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn create_ast(&self, program: Pair) -> ast::Program { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_program` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method_call` [INFO] [stdout] --> src/parser/ast/mod.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | method_call: Pair, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_method_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/parser/ast/mod.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | inner: Expression, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `condition` [INFO] [stdout] --> src/parser/ast/ast.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | condition, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `condition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `then_block` [INFO] [stdout] --> src/parser/ast/ast.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | then_block, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `then_block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `else_block` [INFO] [stdout] --> src/parser/ast/ast.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | else_block, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `else_block: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variable_type` [INFO] [stdout] --> src/parser/ast/ast.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | variable_type, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `variable_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identifier` [INFO] [stdout] --> src/parser/ast/ast.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | identifier, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `identifier: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expression` [INFO] [stdout] --> src/parser/ast/ast.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | expression, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `expression: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identifier` [INFO] [stdout] --> src/parser/ast/ast.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | identifier, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `identifier: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> src/parser/ast/ast.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | parameters, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/parser/ast/ast.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | output, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/parser/ast/ast.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | body, [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operator` [INFO] [stdout] --> src/parser/ast/ast.rs:138:34 [INFO] [stdout] | [INFO] [stdout] 138 | Expression::Prefix { operator, right } => "PREFIX", [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `operator: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/parser/ast/ast.rs:138:44 [INFO] [stdout] | [INFO] [stdout] 138 | Expression::Prefix { operator, right } => "PREFIX", [INFO] [stdout] | ^^^^^ help: try ignoring the field: `right: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/parser/ast/ast.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | left, [INFO] [stdout] | ^^^^ help: try ignoring the field: `left: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `operator` [INFO] [stdout] --> src/parser/ast/ast.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | operator, [INFO] [stdout] | ^^^^^^^^ help: try ignoring the field: `operator: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/parser/ast/ast.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | right, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `right: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `identifier` [INFO] [stdout] --> src/parser/ast/ast.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | identifier, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `identifier: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arguments` [INFO] [stdout] --> src/parser/ast/ast.rs:146:17 [INFO] [stdout] | [INFO] [stdout] 146 | arguments, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `arguments: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parameters` [INFO] [stdout] --> src/parser/ast/ast.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | parameters, [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `parameters: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/parser/ast/ast.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | output, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/parser/ast/ast.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | body, [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/parser/ast/ast.rs:153:34 [INFO] [stdout] | [INFO] [stdout] 153 | Expression::Method { left, call } => "METHOD", [INFO] [stdout] | ^^^^ help: try ignoring the field: `left: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call` [INFO] [stdout] --> src/parser/ast/ast.rs:153:40 [INFO] [stdout] | [INFO] [stdout] 153 | Expression::Method { left, call } => "METHOD", [INFO] [stdout] | ^^^^ help: try ignoring the field: `call: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/parser/ast/ast.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | body, [INFO] [stdout] | ^^^^ help: try ignoring the field: `body: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/parser/ast/ast.rs:206:34 [INFO] [stdout] | [INFO] [stdout] 206 | Expression::Method { left, call } => write!(f, "METHOD IS NOT IMPLEMENTED YET"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `left: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `call` [INFO] [stdout] --> src/parser/ast/ast.rs:206:40 [INFO] [stdout] | [INFO] [stdout] 206 | Expression::Method { left, call } => write!(f, "METHOD IS NOT IMPLEMENTED YET"), [INFO] [stdout] | ^^^^ help: try ignoring the field: `call: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Program` [INFO] [stdout] --> src/parser/ast/ast.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub type Program = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Int` [INFO] [stdout] --> src/parser/ast/ast.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Int, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Float` [INFO] [stdout] --> src/parser/ast/ast.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Float, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Byte` [INFO] [stdout] --> src/parser/ast/ast.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Byte, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bool` [INFO] [stdout] --> src/parser/ast/ast.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `String` [INFO] [stdout] --> src/parser/ast/ast.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Char` [INFO] [stdout] --> src/parser/ast/ast.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Char, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Function` [INFO] [stdout] --> src/parser/ast/ast.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Function(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Void` [INFO] [stdout] --> src/parser/ast/ast.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Void, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IF` [INFO] [stdout] --> src/parser/ast/ast.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / IF { [INFO] [stdout] 42 | | condition: Expression, [INFO] [stdout] 43 | | then_block: BlockStatement, [INFO] [stdout] 44 | | else_block: BlockStatement, [INFO] [stdout] 45 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ASSIGNMENT` [INFO] [stdout] --> src/parser/ast/ast.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / ASSIGNMENT { [INFO] [stdout] 47 | | variable_type: VariableType, [INFO] [stdout] 48 | | identifier: Identifier, [INFO] [stdout] 49 | | expression: Expression, [INFO] [stdout] 50 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RETURN` [INFO] [stdout] --> src/parser/ast/ast.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | RETURN(Expression), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EXPRESSION` [INFO] [stdout] --> src/parser/ast/ast.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | EXPRESSION(Expression), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FUNCTION` [INFO] [stdout] --> src/parser/ast/ast.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | / FUNCTION { [INFO] [stdout] 54 | | identifier: Identifier, [INFO] [stdout] 55 | | parameters: Vec, [INFO] [stdout] 56 | | output: VariableType, [INFO] [stdout] 57 | | body: BlockStatement, [INFO] [stdout] 58 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NONE` [INFO] [stdout] --> src/parser/ast/ast.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | NONE, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `statement_type` [INFO] [stdout] --> src/parser/ast/ast.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn statement_type(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Int` [INFO] [stdout] --> src/parser/ast/ast.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | Int(i32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Float` [INFO] [stdout] --> src/parser/ast/ast.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | Float(f64), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Byte` [INFO] [stdout] --> src/parser/ast/ast.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | Byte(u8), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Bool` [INFO] [stdout] --> src/parser/ast/ast.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | Bool(bool), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Char` [INFO] [stdout] --> src/parser/ast/ast.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | Char(char), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `String` [INFO] [stdout] --> src/parser/ast/ast.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | String(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Identifier` [INFO] [stdout] --> src/parser/ast/ast.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | Identifier(Identifier), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Prefix` [INFO] [stdout] --> src/parser/ast/ast.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | / Prefix { [INFO] [stdout] 102 | | operator: Operator, [INFO] [stdout] 103 | | right: Box, [INFO] [stdout] 104 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Infix` [INFO] [stdout] --> src/parser/ast/ast.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | / Infix { [INFO] [stdout] 106 | | left: Box, [INFO] [stdout] 107 | | operator: Operator, [INFO] [stdout] 108 | | right: Box, [INFO] [stdout] 109 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FunctionCall` [INFO] [stdout] --> src/parser/ast/ast.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | / FunctionCall { [INFO] [stdout] 113 | | identifier: Identifier, [INFO] [stdout] 114 | | arguments: Vec, [INFO] [stdout] 115 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Closure` [INFO] [stdout] --> src/parser/ast/ast.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | / Closure { [INFO] [stdout] 117 | | parameters: Vec, [INFO] [stdout] 118 | | output: VariableType, [INFO] [stdout] 119 | | body: BlockStatement, [INFO] [stdout] 120 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Method` [INFO] [stdout] --> src/parser/ast/ast.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | / Method { [INFO] [stdout] 122 | | left: Box, [INFO] [stdout] 123 | | call: Box, [INFO] [stdout] 124 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `None` [INFO] [stdout] --> src/parser/ast/ast.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NONE` [INFO] [stdout] --> src/parser/ast/ast.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | NONE, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MINUS` [INFO] [stdout] --> src/parser/ast/ast.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | MINUS, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PLUS` [INFO] [stdout] --> src/parser/ast/ast.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 218 | PLUS, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BANG` [INFO] [stdout] --> src/parser/ast/ast.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | BANG, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ASTERISK` [INFO] [stdout] --> src/parser/ast/ast.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | ASTERISK, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `SLASH` [INFO] [stdout] --> src/parser/ast/ast.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | SLASH, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AND` [INFO] [stdout] --> src/parser/ast/ast.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | AND, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `OR` [INFO] [stdout] --> src/parser/ast/ast.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | OR, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `EQ` [INFO] [stdout] --> src/parser/ast/ast.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 224 | EQ, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NOT_EQ` [INFO] [stdout] --> src/parser/ast/ast.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | NOT_EQ, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GTE` [INFO] [stdout] --> src/parser/ast/ast.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | GTE, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `GT` [INFO] [stdout] --> src/parser/ast/ast.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | GT, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LTE` [INFO] [stdout] --> src/parser/ast/ast.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | LTE, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LT` [INFO] [stdout] --> src/parser/ast/ast.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | LT, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/parser/ast/mod.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new() -> AstParser { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_ast` [INFO] [stdout] --> src/parser/ast/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn create_ast(&self, program: Pair) -> ast::Program { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `peek_is_rule` [INFO] [stdout] --> src/parser/ast/mod.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn peek_is_rule(&self, peek: Option>, rule: Rule) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `precedence_climber` [INFO] [stdout] --> src/parser/ast/mod.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn precedence_climber(&self) -> PrecClimber { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_variable_definition` [INFO] [stdout] --> src/parser/ast/mod.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | fn parse_variable_definition( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_variable_type` [INFO] [stdout] --> src/parser/ast/mod.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | fn parse_variable_type(&self, var_type: Pair) -> VariableType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_func_type` [INFO] [stdout] --> src/parser/ast/mod.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | fn parse_func_type(&self, var_type: Pair) -> VariableType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_identifier` [INFO] [stdout] --> src/parser/ast/mod.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 118 | fn parse_identifier(&self, identifier: Pair) -> ast::Identifier { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_int` [INFO] [stdout] --> src/parser/ast/mod.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | fn parse_int(&self, input: &str) -> Expression { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_float` [INFO] [stdout] --> src/parser/ast/mod.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | fn parse_float(&self, input: &str) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_byte` [INFO] [stdout] --> src/parser/ast/mod.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | fn parse_byte(&self, input: &str) -> Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_bool` [INFO] [stdout] --> src/parser/ast/mod.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 164 | fn parse_bool(&self, input: &str) -> Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_char` [INFO] [stdout] --> src/parser/ast/mod.rs:174:8 [INFO] [stdout] | [INFO] [stdout] 174 | fn parse_char(&self, input: &str) -> Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_string` [INFO] [stdout] --> src/parser/ast/mod.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 185 | fn parse_string(&self, input: &str) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_expression` [INFO] [stdout] --> src/parser/ast/mod.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | fn parse_expression(&self, expression: Pair) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_encapsulated_expression` [INFO] [stdout] --> src/parser/ast/mod.rs:208:8 [INFO] [stdout] | [INFO] [stdout] 208 | fn parse_encapsulated_expression( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_value` [INFO] [stdout] --> src/parser/ast/mod.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | fn parse_value(&self, pair: Pair) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_term_value` [INFO] [stdout] --> src/parser/ast/mod.rs:234:8 [INFO] [stdout] | [INFO] [stdout] 234 | fn parse_term_value(&self, mut term_inner: Pairs) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_method_call` [INFO] [stdout] --> src/parser/ast/mod.rs:242:8 [INFO] [stdout] | [INFO] [stdout] 242 | fn parse_method_call( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_term` [INFO] [stdout] --> src/parser/ast/mod.rs:250:8 [INFO] [stdout] | [INFO] [stdout] 250 | fn parse_term(&self, term: Pair) -> Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_prefix` [INFO] [stdout] --> src/parser/ast/mod.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | fn parse_prefix(&self, mut term_inner: Pairs) -> Expression { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_operator` [INFO] [stdout] --> src/parser/ast/mod.rs:269:8 [INFO] [stdout] | [INFO] [stdout] 269 | fn parse_operator(&self, pair: Pair) -> Operator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_call` [INFO] [stdout] --> src/parser/ast/mod.rs:296:8 [INFO] [stdout] | [INFO] [stdout] 296 | fn parse_call(&self, call: Pair) -> Expression { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_arguments` [INFO] [stdout] --> src/parser/ast/mod.rs:310:8 [INFO] [stdout] | [INFO] [stdout] 310 | fn parse_arguments(&self, arguments: Pair) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_statement` [INFO] [stdout] --> src/parser/ast/mod.rs:326:8 [INFO] [stdout] | [INFO] [stdout] 326 | fn parse_statement(&self, statement: Pair) -> Statement { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_variable_assignment` [INFO] [stdout] --> src/parser/ast/mod.rs:339:8 [INFO] [stdout] | [INFO] [stdout] 339 | fn parse_variable_assignment(&self, statement: Pair) -> Statement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_return_statement` [INFO] [stdout] --> src/parser/ast/mod.rs:355:8 [INFO] [stdout] | [INFO] [stdout] 355 | fn parse_return_statement(&self, statement: Pair) -> Statement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_if_statement` [INFO] [stdout] --> src/parser/ast/mod.rs:359:8 [INFO] [stdout] | [INFO] [stdout] 359 | fn parse_if_statement(&self, if_statement: Pair) -> Statement { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_body` [INFO] [stdout] --> src/parser/ast/mod.rs:393:8 [INFO] [stdout] | [INFO] [stdout] 393 | fn parse_body(&self, body: Pair) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 105 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Program` [INFO] [stdout] --> src/parser/ast/ast.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub type Program = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FUNCTION` [INFO] [stdout] --> src/parser/ast/ast.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | / FUNCTION { [INFO] [stdout] 54 | | identifier: Identifier, [INFO] [stdout] 55 | | parameters: Vec, [INFO] [stdout] 56 | | output: VariableType, [INFO] [stdout] 57 | | body: BlockStatement, [INFO] [stdout] 58 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `NONE` [INFO] [stdout] --> src/parser/ast/ast.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | NONE, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Closure` [INFO] [stdout] --> src/parser/ast/ast.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | / Closure { [INFO] [stdout] 117 | | parameters: Vec, [INFO] [stdout] 118 | | output: VariableType, [INFO] [stdout] 119 | | body: BlockStatement, [INFO] [stdout] 120 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Method` [INFO] [stdout] --> src/parser/ast/ast.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | / Method { [INFO] [stdout] 122 | | left: Box, [INFO] [stdout] 123 | | call: Box, [INFO] [stdout] 124 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `create_ast` [INFO] [stdout] --> src/parser/ast/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn create_ast(&self, program: Pair) -> ast::Program { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.22s [INFO] running `Command { std: "docker" "inspect" "c442f79078400b6d877cf63c4b93bff582c3815092d721bf52fce238bd99c0b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c442f79078400b6d877cf63c4b93bff582c3815092d721bf52fce238bd99c0b5", kill_on_drop: false }` [INFO] [stdout] c442f79078400b6d877cf63c4b93bff582c3815092d721bf52fce238bd99c0b5