[INFO] cloning repository https://github.com/DerGorn/OPS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DerGorn/OPS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDerGorn%2FOPS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDerGorn%2FOPS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0c117992fee7bf9d3806e67d40b5da74d223cd9d [INFO] building DerGorn/OPS 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%2FDerGorn%2FOPS" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DerGorn/OPS 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/DerGorn/OPS [INFO] finished tweaking git repo https://github.com/DerGorn/OPS [INFO] tweaked toml for git repo https://github.com/DerGorn/OPS written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/DerGorn/OPS 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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90c2ec173ccfa66e5ef01dba999dae615f7474bc4cd78e64298c89da14f668fb [INFO] running `Command { std: "docker" "start" "-a" "90c2ec173ccfa66e5ef01dba999dae615f7474bc4cd78e64298c89da14f668fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90c2ec173ccfa66e5ef01dba999dae615f7474bc4cd78e64298c89da14f668fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90c2ec173ccfa66e5ef01dba999dae615f7474bc4cd78e64298c89da14f668fb", kill_on_drop: false }` [INFO] [stdout] 90c2ec173ccfa66e5ef01dba999dae615f7474bc4cd78e64298c89da14f668fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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] d57afd75418da7e83806783c4ead265fd7acf6233e41114c4b9dffc71a65c16b [INFO] running `Command { std: "docker" "start" "-a" "d57afd75418da7e83806783c4ead265fd7acf6233e41114c4b9dffc71a65c16b", kill_on_drop: false }` [INFO] [stderr] Compiling ops v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | _ => panic!("Forgor to implement ErrorType"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lib.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 48 | Self::UnclosedString => "Unclosed String", [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 49 | Self::UnclosedBlock => "Unclosed Block", [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 50 | Self::UnclosedStatement => "Unclosed Statement", [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] 51 | Self::InvalidStatement => "Invalid Statement", [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 54 | _ => panic!("Forgor to implement ErrorType"), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | _ => panic!("Forgor to implement ControlTokenVariant"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lib.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 208 | Self::Comma => String::from(","), [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 209 | Self::Semicolon => String::from(";"), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 210 | Self::OpenParanthesis => String::from("("), [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 211 | Self::CloseParanthesis => String::from(")"), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 235 | _ => panic!("Forgor to implement ControlTokenVariant"), [INFO] [stdout] | ^ ...and 23 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | _ => panic!("Forgor to implement WordTokenVariants"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lib.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 290 | Self::Func => String::from("func"), [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 291 | Self::Num => String::from("num"), [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 292 | Self::Str => String::from("str"), [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 293 | Self::Bool => String::from("bool"), [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 305 | _ => panic!("Forgor to implement WordTokenVariants"), [INFO] [stdout] | ^ ...and 11 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num` is never read [INFO] [stdout] --> src/lib.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 391 | pub struct NumberVariants { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 392 | num: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NumberVariants` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `any::Any` [INFO] [stdout] --> src/parser.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{any::Any, collections::HashMap, fmt::Debug}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tokenizer` [INFO] [stdout] --> src/parser.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::tokenizer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vt` [INFO] [stdout] --> src/parser.rs:204:77 [INFO] [stdout] | [INFO] [stdout] 204 | x if x.is_literal() => self.parse_expression(tokens).and_then(|(vt, v)| Ok(v)), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variable_name` [INFO] [stdout] --> src/parser.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | let variable_name = &tokens[0]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parser.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | let input = match tokens.get(2..tokens.len() - 1) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `position`, `parameter`, and `expression` are never read [INFO] [stdout] --> src/parser.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Function { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 37 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | parameter: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 40 | expression: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `functions` is never read [INFO] [stdout] --> src/parser.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 59 | variables: HashMap, [INFO] [stdout] 60 | functions: HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "d57afd75418da7e83806783c4ead265fd7acf6233e41114c4b9dffc71a65c16b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d57afd75418da7e83806783c4ead265fd7acf6233e41114c4b9dffc71a65c16b", kill_on_drop: false }` [INFO] [stdout] d57afd75418da7e83806783c4ead265fd7acf6233e41114c4b9dffc71a65c16b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -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] c20dc3802aed46a32caf34742e088b7084764ef0b85c1d10e2d1f75986f62537 [INFO] running `Command { std: "docker" "start" "-a" "c20dc3802aed46a32caf34742e088b7084764ef0b85c1d10e2d1f75986f62537", kill_on_drop: false }` [INFO] [stderr] Compiling ops v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | _ => panic!("Forgor to implement ErrorType"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lib.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 48 | Self::UnclosedString => "Unclosed String", [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 49 | Self::UnclosedBlock => "Unclosed Block", [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 50 | Self::UnclosedStatement => "Unclosed Statement", [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] 51 | Self::InvalidStatement => "Invalid Statement", [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 54 | _ => panic!("Forgor to implement ErrorType"), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | _ => panic!("Forgor to implement ControlTokenVariant"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lib.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 208 | Self::Comma => String::from(","), [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 209 | Self::Semicolon => String::from(";"), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 210 | Self::OpenParanthesis => String::from("("), [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 211 | Self::CloseParanthesis => String::from(")"), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 235 | _ => panic!("Forgor to implement ControlTokenVariant"), [INFO] [stdout] | ^ ...and 23 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | _ => panic!("Forgor to implement WordTokenVariants"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lib.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 290 | Self::Func => String::from("func"), [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 291 | Self::Num => String::from("num"), [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 292 | Self::Str => String::from("str"), [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 293 | Self::Bool => String::from("bool"), [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 305 | _ => panic!("Forgor to implement WordTokenVariants"), [INFO] [stdout] | ^ ...and 11 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num` is never read [INFO] [stdout] --> src/lib.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 391 | pub struct NumberVariants { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 392 | num: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NumberVariants` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `any::Any` [INFO] [stdout] --> src/parser.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{any::Any, collections::HashMap, fmt::Debug}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tokenizer` [INFO] [stdout] --> src/parser.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::tokenizer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | _ => panic!("Forgor to implement ErrorType"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lib.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 48 | Self::UnclosedString => "Unclosed String", [INFO] [stdout] | -------------------- matches some of the same values [INFO] [stdout] 49 | Self::UnclosedBlock => "Unclosed Block", [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] 50 | Self::UnclosedStatement => "Unclosed Statement", [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] 51 | Self::InvalidStatement => "Invalid Statement", [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 54 | _ => panic!("Forgor to implement ErrorType"), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | _ => panic!("Forgor to implement ControlTokenVariant"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lib.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 208 | Self::Comma => String::from(","), [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 209 | Self::Semicolon => String::from(";"), [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] 210 | Self::OpenParanthesis => String::from("("), [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 211 | Self::CloseParanthesis => String::from(")"), [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 235 | _ => panic!("Forgor to implement ControlTokenVariant"), [INFO] [stdout] | ^ ...and 23 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/lib.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | _ => panic!("Forgor to implement WordTokenVariants"), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/lib.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 290 | Self::Func => String::from("func"), [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 291 | Self::Num => String::from("num"), [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 292 | Self::Str => String::from("str"), [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 293 | Self::Bool => String::from("bool"), [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 305 | _ => panic!("Forgor to implement WordTokenVariants"), [INFO] [stdout] | ^ ...and 11 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `num` is never read [INFO] [stdout] --> src/lib.rs:392:5 [INFO] [stdout] | [INFO] [stdout] 391 | pub struct NumberVariants { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 392 | num: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NumberVariants` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vt` [INFO] [stdout] --> src/parser.rs:204:77 [INFO] [stdout] | [INFO] [stdout] 204 | x if x.is_literal() => self.parse_expression(tokens).and_then(|(vt, v)| Ok(v)), [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_vt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `variable_name` [INFO] [stdout] --> src/parser.rs:310:13 [INFO] [stdout] | [INFO] [stdout] 310 | let variable_name = &tokens[0]; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_variable_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/parser.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | let input = match tokens.get(2..tokens.len() - 1) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `position`, `parameter`, and `expression` are never read [INFO] [stdout] --> src/parser.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Function { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 37 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | position: Position, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 39 | parameter: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 40 | expression: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `functions` is never read [INFO] [stdout] --> src/parser.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Scope { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 59 | variables: HashMap, [INFO] [stdout] 60 | functions: HashMap, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] running `Command { std: "docker" "inspect" "c20dc3802aed46a32caf34742e088b7084764ef0b85c1d10e2d1f75986f62537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c20dc3802aed46a32caf34742e088b7084764ef0b85c1d10e2d1f75986f62537", kill_on_drop: false }` [INFO] [stdout] c20dc3802aed46a32caf34742e088b7084764ef0b85c1d10e2d1f75986f62537