[INFO] cloning repository https://github.com/plungingChode/open-plang [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/plungingChode/open-plang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FplungingChode%2Fopen-plang", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FplungingChode%2Fopen-plang'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c49adaaa4c3ff9b9579d6ddfc9c9f2e237547197 [INFO] building plungingChode/open-plang 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%2FplungingChode%2Fopen-plang" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/plungingChode/open-plang 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/plungingChode/open-plang [INFO] finished tweaking git repo https://github.com/plungingChode/open-plang [INFO] tweaked toml for git repo https://github.com/plungingChode/open-plang written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/plungingChode/open-plang 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] [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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 99bce851b0dc0a78b7331c61246ae77743ae09fead09bff694bd63f3eb95462e [INFO] running `Command { std: "docker" "start" "-a" "99bce851b0dc0a78b7331c61246ae77743ae09fead09bff694bd63f3eb95462e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99bce851b0dc0a78b7331c61246ae77743ae09fead09bff694bd63f3eb95462e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99bce851b0dc0a78b7331c61246ae77743ae09fead09bff694bd63f3eb95462e", kill_on_drop: false }` [INFO] [stdout] 99bce851b0dc0a78b7331c61246ae77743ae09fead09bff694bd63f3eb95462e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] cf3338a3cce3c887f71cb500454acc78530c51e802d53e2dbe0f2921382c36f1 [INFO] running `Command { std: "docker" "start" "-a" "cf3338a3cce3c887f71cb500454acc78530c51e802d53e2dbe0f2921382c36f1", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling plang-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `LexerToken` [INFO] [stdout] --> src/plang/mod.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | pub use self::lexer::{ Lexer, LexerToken }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TokenType`, `Token`, and `Tokenizer` [INFO] [stdout] --> src/plang/mod.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | pub use self::tokenizer::{ Tokenizer, Token, TokenType }; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plang/variable.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | impl Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | impl dyn Type { [INFO] [stdout] | +++ [INFO] [stdout] help: you might have intended to implement this trait for a given type [INFO] [stdout] | [INFO] [stdout] 33 | impl Type for /* Type */ { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plang/variable.rs:77:50 [INFO] [stdout] | [INFO] [stdout] 77 | return VarDecl::new(names, Box::from(Type::null()), Error::Name); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 | return VarDecl::new(names, Box::from(::null()), Error::Name); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plang/variable.rs:85:54 [INFO] [stdout] | [INFO] [stdout] 85 | return VarDecl::new(names, Box::from(Type::null()), Error::Name); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 | return VarDecl::new(names, Box::from(::null()), Error::Name); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plang/variable.rs:92:50 [INFO] [stdout] | [INFO] [stdout] 92 | return VarDecl::new(names, Box::from(Type::null()), Error::Colon); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 | return VarDecl::new(names, Box::from(::null()), Error::Colon); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plang/variable.rs:98:47 [INFO] [stdout] | [INFO] [stdout] 98 | return VarDecl::new(vec![], Box::from(Type::null()), Error::None); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 | return VarDecl::new(vec![], Box::from(::null()), Error::None); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var` [INFO] [stdout] --> src/plang/variable.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | fn can_copy(&self, var: Box) -> bool { unimplemented!() } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_var` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var` [INFO] [stdout] --> src/plang/variable.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | fn copy(&self, var: Box) -> Box { unimplemented!() } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/plang/variable.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | fn unary_optype(&self, op: UnaryOperator) -> Box { unimplemented!() } [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var` [INFO] [stdout] --> src/plang/variable.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | fn unary_apply(&self, var: Box) -> Box { unimplemented!() } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/plang/variable.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | fn binary_optype(&self, op: BinaryOperator, var: Box) -> Box { unimplemented!() } [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var` [INFO] [stdout] --> src/plang/variable.rs:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | fn binary_optype(&self, op: BinaryOperator, var: Box) -> Box { unimplemented!() } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/plang/variable.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | fn binary_apply(&self, op: BinaryOperator, t: Box, var1: Box, var2: Box) -> Box { unimplement... [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/plang/variable.rs:55:48 [INFO] [stdout] | [INFO] [stdout] 55 | fn binary_apply(&self, op: BinaryOperator, t: Box, var1: Box, var2: Box) -> Box { unimplement... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var1` [INFO] [stdout] --> src/plang/variable.rs:55:66 [INFO] [stdout] | [INFO] [stdout] 55 | ...aryOperator, t: Box, var1: Box, var2: Box) -> Box { unimplemented!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_var1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var2` [INFO] [stdout] --> src/plang/variable.rs:55:87 [INFO] [stdout] | [INFO] [stdout] 55 | ...yn Type>, var1: Box, var2: Box) -> Box { unimplemented!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_var2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/plang/variable.rs:56:35 [INFO] [stdout] | [INFO] [stdout] 56 | fn binary_has_accessor(&self, op: BinaryOperator, x: Box) -> bool { unimplemented!() } [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/plang/variable.rs:56:55 [INFO] [stdout] | [INFO] [stdout] 56 | fn binary_has_accessor(&self, op: BinaryOperator, x: Box) -> bool { unimplemented!() } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/plang/variable.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | fn access(&self, op: BinaryOperator, a: Box, b: Box, c: Box) -> Box { unimplemented!() } [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/plang/variable.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | fn access(&self, op: BinaryOperator, a: Box, b: Box, c: Box) -> Box { unimplemented!() } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/plang/variable.rs:57:60 [INFO] [stdout] | [INFO] [stdout] 57 | fn access(&self, op: BinaryOperator, a: Box, b: Box, c: Box) -> Box { unimplemented!() } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/plang/variable.rs:57:78 [INFO] [stdout] | [INFO] [stdout] 57 | fn access(&self, op: BinaryOperator, a: Box, b: Box, c: Box) -> Box { unimplemented!() } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/plang/lexer.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn is_data(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn is_ident(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn is_keyword(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn sval(&self) -> &'a str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn nval(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn fval(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn ival(&self) -> i64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn lexical(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `concat_special` is never read [INFO] [stdout] --> src/plang/tokenizer.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Tokenizer<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | concat_special: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tokenizer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from` and `with_options` are never used [INFO] [stdout] --> src/plang/tokenizer.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl<'a> Tokenizer<'a> { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn from(s: &'a str) -> Tokenizer<'a> [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn with_options(s: &'a str, options: i32) -> Tokenizer<'a> [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Declarations` is never constructed [INFO] [stdout] --> src/plang/declarations.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Declarations<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/plang/variable.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/plang/variable.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait Type { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 14 | fn const_sval(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | fn const_nval(&self) -> f64; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | fn render(&self) -> String; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | fn can_copy(&self, var: Box) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 18 | fn copy(&self, var: Box) -> Box; [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | fn init_val(&self) -> Box; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | [INFO] [stdout] 21 | fn unary_optype(&self, op: UnaryOperator) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 22 | fn unary_apply(&self, var: Box) -> Box; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn binary_optype(&self, op: BinaryOperator, var: Box) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | fn binary_apply(&self, op: BinaryOperator, t: Box, var1: Box, var2: Box) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 27 | fn binary_has_accessor(&self, op: BinaryOperator, x: Box) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | fn access(&self, op: BinaryOperator, a: Box, b: Box, c: Box) -> Box; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | [INFO] [stdout] 30 | fn print_data(&self, s: &mut String) { s.push_str(&self.render())} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `null` is never used [INFO] [stdout] --> src/plang/variable.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 33 | impl Type { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 34 | const fn null() -> NullType { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VarDecl` is never constructed [INFO] [stdout] --> src/plang/variable.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct VarDecl { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `parse` are never used [INFO] [stdout] --> src/plang/variable.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl VarDecl { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 69 | fn new(names: Vec, vtype: Box, err: Error) -> VarDecl { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn parse(lex: &mut Lexer) -> VarDecl { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Environment` is never constructed [INFO] [stdout] --> src/plang/environment.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Environment { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/plang/unary_operator.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum UnaryOperator { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 3 | Minus, Sin, Cos, Tan, [INFO] [stdout] | ^^^^^ ^^^ ^^^ ^^^ [INFO] [stdout] 4 | ArcSin, ArcCos, ArcTan, [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] 5 | Log, Not, Exp, Trunc, [INFO] [stdout] | ^^^ ^^^ ^^^ ^^^^^ [INFO] [stdout] 6 | Round, Real, Upper, [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] 7 | Lower, IsNum, IsAlpha, [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^ [INFO] [stdout] 8 | Pipe [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `op` and `render` are never used [INFO] [stdout] --> src/plang/unary_operator.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl UnaryOperator { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 12 | pub const fn op(&self) -> &'static str { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn render(&self, e: String /* Expression */) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/plang/binary_operator.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum BinaryOperator { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 3 | Plus, Minus, Star, Slash, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] 4 | Hat, At, Lt, Gt, Eq, Ne, [INFO] [stdout] | ^^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 5 | Le, Ge, And, Or, Div, Mod, [INFO] [stdout] | ^^ ^^ ^^^ ^^ ^^^ ^^^ [INFO] [stdout] 6 | Bracket [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `op` and `render` are never used [INFO] [stdout] --> src/plang/binary_operator.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl BinaryOperator { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 10 | pub const fn op(&self) -> &'static str { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn render(&self, a: String /* Expression */, b: String /* Expression */) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.77s [INFO] running `Command { std: "docker" "inspect" "cf3338a3cce3c887f71cb500454acc78530c51e802d53e2dbe0f2921382c36f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf3338a3cce3c887f71cb500454acc78530c51e802d53e2dbe0f2921382c36f1", kill_on_drop: false }` [INFO] [stdout] cf3338a3cce3c887f71cb500454acc78530c51e802d53e2dbe0f2921382c36f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] eb74514e3057954f7f5fa7ff6ee0e2ab77986055e3fefe77f98e7fb8ff23cf95 [INFO] running `Command { std: "docker" "start" "-a" "eb74514e3057954f7f5fa7ff6ee0e2ab77986055e3fefe77f98e7fb8ff23cf95", kill_on_drop: false }` [INFO] [stderr] Compiling plang-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `LexerToken` [INFO] [stdout] --> src/plang/mod.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | pub use self::lexer::{ Lexer, LexerToken }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TokenType`, `Token`, and `Tokenizer` [INFO] [stdout] --> src/plang/mod.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | pub use self::tokenizer::{ Tokenizer, Token, TokenType }; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plang/variable.rs:33:6 [INFO] [stdout] | [INFO] [stdout] 33 | impl Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | impl dyn Type { [INFO] [stdout] | +++ [INFO] [stdout] help: you might have intended to implement this trait for a given type [INFO] [stdout] | [INFO] [stdout] 33 | impl Type for /* Type */ { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plang/variable.rs:77:50 [INFO] [stdout] | [INFO] [stdout] 77 | return VarDecl::new(names, Box::from(Type::null()), Error::Name); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 | return VarDecl::new(names, Box::from(::null()), Error::Name); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plang/variable.rs:85:54 [INFO] [stdout] | [INFO] [stdout] 85 | return VarDecl::new(names, Box::from(Type::null()), Error::Name); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 | return VarDecl::new(names, Box::from(::null()), Error::Name); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plang/variable.rs:92:50 [INFO] [stdout] | [INFO] [stdout] 92 | return VarDecl::new(names, Box::from(Type::null()), Error::Colon); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 | return VarDecl::new(names, Box::from(::null()), Error::Colon); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plang/variable.rs:98:47 [INFO] [stdout] | [INFO] [stdout] 98 | return VarDecl::new(vec![], Box::from(Type::null()), Error::None); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 | return VarDecl::new(vec![], Box::from(::null()), Error::None); [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var` [INFO] [stdout] --> src/plang/variable.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | fn can_copy(&self, var: Box) -> bool { unimplemented!() } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_var` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var` [INFO] [stdout] --> src/plang/variable.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | fn copy(&self, var: Box) -> Box { unimplemented!() } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/plang/variable.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | fn unary_optype(&self, op: UnaryOperator) -> Box { unimplemented!() } [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var` [INFO] [stdout] --> src/plang/variable.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | fn unary_apply(&self, var: Box) -> Box { unimplemented!() } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/plang/variable.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | fn binary_optype(&self, op: BinaryOperator, var: Box) -> Box { unimplemented!() } [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var` [INFO] [stdout] --> src/plang/variable.rs:54:49 [INFO] [stdout] | [INFO] [stdout] 54 | fn binary_optype(&self, op: BinaryOperator, var: Box) -> Box { unimplemented!() } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_var` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/plang/variable.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | fn binary_apply(&self, op: BinaryOperator, t: Box, var1: Box, var2: Box) -> Box { unimplement... [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/plang/variable.rs:55:48 [INFO] [stdout] | [INFO] [stdout] 55 | fn binary_apply(&self, op: BinaryOperator, t: Box, var1: Box, var2: Box) -> Box { unimplement... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var1` [INFO] [stdout] --> src/plang/variable.rs:55:66 [INFO] [stdout] | [INFO] [stdout] 55 | ...aryOperator, t: Box, var1: Box, var2: Box) -> Box { unimplemented!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_var1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `var2` [INFO] [stdout] --> src/plang/variable.rs:55:87 [INFO] [stdout] | [INFO] [stdout] 55 | ...yn Type>, var1: Box, var2: Box) -> Box { unimplemented!() } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_var2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/plang/variable.rs:56:35 [INFO] [stdout] | [INFO] [stdout] 56 | fn binary_has_accessor(&self, op: BinaryOperator, x: Box) -> bool { unimplemented!() } [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/plang/variable.rs:56:55 [INFO] [stdout] | [INFO] [stdout] 56 | fn binary_has_accessor(&self, op: BinaryOperator, x: Box) -> bool { unimplemented!() } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op` [INFO] [stdout] --> src/plang/variable.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | fn access(&self, op: BinaryOperator, a: Box, b: Box, c: Box) -> Box { unimplemented!() } [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_op` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/plang/variable.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | fn access(&self, op: BinaryOperator, a: Box, b: Box, c: Box) -> Box { unimplemented!() } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/plang/variable.rs:57:60 [INFO] [stdout] | [INFO] [stdout] 57 | fn access(&self, op: BinaryOperator, a: Box, b: Box, c: Box) -> Box { unimplemented!() } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/plang/variable.rs:57:78 [INFO] [stdout] | [INFO] [stdout] 57 | fn access(&self, op: BinaryOperator, a: Box, b: Box, c: Box) -> Box { unimplemented!() } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from` is never used [INFO] [stdout] --> src/plang/lexer.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl<'a> LexerToken<'a> { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 43 | #[cfg(test)] [INFO] [stdout] 44 | pub fn from(sval: &str, nval: f64, ttype: TokenType) -> LexerToken { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/plang/lexer.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl<'a> Lexer<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn is_data(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn is_ident(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn is_keyword(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn sval(&self) -> &'a str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn nval(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn fval(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn ival(&self) -> i64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn lexical(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `concat_special` is never read [INFO] [stdout] --> src/plang/tokenizer.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct Tokenizer<'a> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 47 | concat_special: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Tokenizer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Declarations` is never constructed [INFO] [stdout] --> src/plang/declarations.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Declarations<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Error` is never used [INFO] [stdout] --> src/plang/variable.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/plang/variable.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait Type { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 14 | fn const_sval(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 15 | fn const_nval(&self) -> f64; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 16 | fn render(&self) -> String; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | fn can_copy(&self, var: Box) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 18 | fn copy(&self, var: Box) -> Box; [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | fn init_val(&self) -> Box; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 20 | [INFO] [stdout] 21 | fn unary_optype(&self, op: UnaryOperator) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 22 | fn unary_apply(&self, var: Box) -> Box; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn binary_optype(&self, op: BinaryOperator, var: Box) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 26 | fn binary_apply(&self, op: BinaryOperator, t: Box, var1: Box, var2: Box) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 27 | fn binary_has_accessor(&self, op: BinaryOperator, x: Box) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | fn access(&self, op: BinaryOperator, a: Box, b: Box, c: Box) -> Box; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | [INFO] [stdout] 30 | fn print_data(&self, s: &mut String) { s.push_str(&self.render())} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `null` is never used [INFO] [stdout] --> src/plang/variable.rs:34:14 [INFO] [stdout] | [INFO] [stdout] 33 | impl Type { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 34 | const fn null() -> NullType { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VarDecl` is never constructed [INFO] [stdout] --> src/plang/variable.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct VarDecl { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `parse` are never used [INFO] [stdout] --> src/plang/variable.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl VarDecl { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 69 | fn new(names: Vec, vtype: Box, err: Error) -> VarDecl { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn parse(lex: &mut Lexer) -> VarDecl { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Environment` is never constructed [INFO] [stdout] --> src/plang/environment.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Environment { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/plang/unary_operator.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum UnaryOperator { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 3 | Minus, Sin, Cos, Tan, [INFO] [stdout] | ^^^^^ ^^^ ^^^ ^^^ [INFO] [stdout] 4 | ArcSin, ArcCos, ArcTan, [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] 5 | Log, Not, Exp, Trunc, [INFO] [stdout] | ^^^ ^^^ ^^^ ^^^^^ [INFO] [stdout] 6 | Round, Real, Upper, [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] 7 | Lower, IsNum, IsAlpha, [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^ [INFO] [stdout] 8 | Pipe [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `op` and `render` are never used [INFO] [stdout] --> src/plang/unary_operator.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 11 | impl UnaryOperator { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 12 | pub const fn op(&self) -> &'static str { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn render(&self, e: String /* Expression */) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/plang/binary_operator.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum BinaryOperator { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 3 | Plus, Minus, Star, Slash, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] 4 | Hat, At, Lt, Gt, Eq, Ne, [INFO] [stdout] | ^^^ ^^ ^^ ^^ ^^ ^^ [INFO] [stdout] 5 | Le, Ge, And, Or, Div, Mod, [INFO] [stdout] | ^^ ^^ ^^^ ^^ ^^^ ^^^ [INFO] [stdout] 6 | Bracket [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `op` and `render` are never used [INFO] [stdout] --> src/plang/binary_operator.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 9 | impl BinaryOperator { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] 10 | pub const fn op(&self) -> &'static str { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn render(&self, a: String /* Expression */, b: String /* Expression */) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.62s [INFO] running `Command { std: "docker" "inspect" "eb74514e3057954f7f5fa7ff6ee0e2ab77986055e3fefe77f98e7fb8ff23cf95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb74514e3057954f7f5fa7ff6ee0e2ab77986055e3fefe77f98e7fb8ff23cf95", kill_on_drop: false }` [INFO] [stdout] eb74514e3057954f7f5fa7ff6ee0e2ab77986055e3fefe77f98e7fb8ff23cf95