[INFO] cloning repository https://github.com/Simon890/rusty-script [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Simon890/rusty-script" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimon890%2Frusty-script", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimon890%2Frusty-script'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c40a8f8dcd8c1a94719c5eca9031c857f36a8772 [INFO] checking Simon890/rusty-script against try#a3a874232ae0a7586b5fbe7483c5a42e157bd62a for pr-151109 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimon890%2Frusty-script" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Simon890/rusty-script [INFO] finished tweaking git repo https://github.com/Simon890/rusty-script [INFO] tweaked toml for git repo https://github.com/Simon890/rusty-script written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Simon890/rusty-script on toolchain a3a874232ae0a7586b5fbe7483c5a42e157bd62a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Simon890/rusty-script 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" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking Simon890/rusty-script against try#a3a874232ae0a7586b5fbe7483c5a42e157bd62a for pr-151109 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimon890%2Frusty-script" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Simon890/rusty-script [INFO] finished tweaking git repo https://github.com/Simon890/rusty-script [INFO] tweaked toml for git repo https://github.com/Simon890/rusty-script written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Simon890/rusty-script on toolchain a3a874232ae0a7586b5fbe7483c5a42e157bd62a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Simon890/rusty-script 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" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasi v0.14.6+wasi-0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60ceb09b46c8b0fe1adba6378ab8e1a7d57d149f8203aeadf87448378eeb0fea [INFO] running `Command { std: "docker" "start" "-a" "60ceb09b46c8b0fe1adba6378ab8e1a7d57d149f8203aeadf87448378eeb0fea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60ceb09b46c8b0fe1adba6378ab8e1a7d57d149f8203aeadf87448378eeb0fea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60ceb09b46c8b0fe1adba6378ab8e1a7d57d149f8203aeadf87448378eeb0fea", kill_on_drop: false }` [INFO] [stdout] 60ceb09b46c8b0fe1adba6378ab8e1a7d57d149f8203aeadf87448378eeb0fea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65d36c1de1478c6a1c3b031818a6f20d46ee4ebf82588cf7f3fe407b378f1ef5 [INFO] running `Command { std: "docker" "start" "-a" "65d36c1de1478c6a1c3b031818a6f20d46ee4ebf82588cf7f3fe407b378f1ef5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lang/parser.rs:273:15 [INFO] [stdout] | [INFO] [stdout] 273 | if(self.current().kind() == TokenKind::Identifier && self.current().as_string() == "if") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 273 - if(self.current().kind() == TokenKind::Identifier && self.current().as_string() == "if") { [INFO] [stdout] 273 + if self.current().kind() == TokenKind::Identifier && self.current().as_string() == "if" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lang/parser.rs:273:15 [INFO] [stdout] | [INFO] [stdout] 273 | if(self.current().kind() == TokenKind::Identifier && self.current().as_string() == "if") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 273 - if(self.current().kind() == TokenKind::Identifier && self.current().as_string() == "if") { [INFO] [stdout] 273 + if self.current().kind() == TokenKind::Identifier && self.current().as_string() == "if" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `index` is never read [INFO] [stdout] --> src/lang/func/function_registry.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | let mut index: usize = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_f32` and `as_bool` are never used [INFO] [stdout] --> src/lang/tokenizer.rs:388:12 [INFO] [stdout] | [INFO] [stdout] 352 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 388 | pub fn as_f32(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn as_bool(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/lang/func/function_registry.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Arguments { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 102 | args: Vec, [INFO] [stdout] 103 | index: usize [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `args`, `has`, and `as_bool` are never used [INFO] [stdout] --> src/lang/func/function_registry.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl Arguments { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn args(&self) -> &Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn has(&self, index: usize) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn as_bool(&self, index: usize) -> &bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `index` is never read [INFO] [stdout] --> src/lang/func/function_registry.rs:39:32 [INFO] [stdout] | [INFO] [stdout] 39 | let mut index: usize = 0; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.72s [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/lang/tokenizer.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 319 | Identifier { [INFO] [stdout] | ---------- field in this variant [INFO] [stdout] 320 | value: String [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/lang/tokenizer.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 322 | NumberLiteral { [INFO] [stdout] | ------------- field in this variant [INFO] [stdout] 323 | value: f32 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/lang/tokenizer.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 325 | BoolLiteral { [INFO] [stdout] | ----------- field in this variant [INFO] [stdout] 326 | value: bool [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/lang/tokenizer.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 328 | StringLiteral { [INFO] [stdout] | ------------- field in this variant [INFO] [stdout] 329 | value: String [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `kind`, `as_string`, `as_f32`, and `as_bool` are never used [INFO] [stdout] --> src/lang/tokenizer.rs:353:12 [INFO] [stdout] | [INFO] [stdout] 352 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 353 | pub fn kind(&self) -> TokenKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn as_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | pub fn as_f32(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn as_bool(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TokenKind` is never used [INFO] [stdout] --> src/lang/tokenizer.rs:404:10 [INFO] [stdout] | [INFO] [stdout] 404 | pub enum TokenKind { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `casting_error` is never used [INFO] [stdout] --> src/lang/panics.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn casting_error(datatype: &str) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Parser` is never constructed [INFO] [stdout] --> src/lang/parser.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Parser { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/lang/parser.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Parser { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(text: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn parse(&mut self) -> Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn current(&self) -> Token { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn is_eof(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn advance(&mut self, expected: Option) -> Token { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn expect(&self, token: TokenKind) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn is_expr(&self, token: &Token) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn parse_expr_or_stmt(&mut self) -> Rc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn parse_expr(&mut self) -> Rc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn parse_var_assignment(&mut self) -> Rc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | fn parse_var_declaration(&mut self) -> Rc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | fn parse_function(&mut self) -> Rc { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | fn parse_args(&mut self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | fn parse_pow_expression(&mut self) -> Rc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | fn parse_bool_expression(&mut self) -> Rc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | fn parse_sum_expression(&mut self) -> Rc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 233 | fn parse_mul_expression(&mut self) -> Rc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | fn parse_unary_expression(&mut self) -> Rc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | fn parse_if_stmt(&mut self) -> Rc { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ASTNode` is never used [INFO] [stdout] --> src/lang/parser.rs:294:10 [INFO] [stdout] | [INFO] [stdout] 294 | pub enum ASTNode { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Interpreter` is never constructed [INFO] [stdout] --> src/lang/interpreter.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Interpreter { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/lang/interpreter.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Interpreter { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 11 | [INFO] [stdout] 12 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn run(&mut self, input: &str) -> RuntimeValue { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn initial_expression(&mut self, node: Rc) -> RuntimeValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn if_stmt(&mut self, node: Rc) -> RuntimeValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | fn var_declaration(&mut self, node: Rc) -> RuntimeValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn var_assignment(&mut self, node: Rc) -> RuntimeValue { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn binary_expression(&mut self, node: Rc) -> RuntimeValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | fn unary_expression(&mut self, node: Rc) -> RuntimeValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | fn function_call(&mut self, node: Rc) -> RuntimeValue { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RuntimeValue` is never used [INFO] [stdout] --> src/lang/interpreter.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | pub enum RuntimeValue { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pow` is never used [INFO] [stdout] --> src/lang/interpreter.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 203 | impl RuntimeValue { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 204 | fn pow(&self, rhs: &Self) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_type` is never used [INFO] [stdout] --> src/lang/interpreter.rs:215:12 [INFO] [stdout] | [INFO] [stdout] 214 | impl RuntimeValue { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 215 | pub fn to_type(&self) -> RuntimeType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FunctionRegistry` is never constructed [INFO] [stdout] --> src/lang/func/function_registry.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct FunctionRegistry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_function`, and `call` are never used [INFO] [stdout] --> src/lang/func/function_registry.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl FunctionRegistry { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn add_function(&mut self, function: Function) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn call(&self, function_name: &str, args: Vec) -> RuntimeValue { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParamCount` is never used [INFO] [stdout] --> src/lang/func/function_registry.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | pub enum ParamCount { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_fixed` is never used [INFO] [stdout] --> src/lang/func/function_registry.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl ParamCount { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 60 | pub fn is_fixed(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RuntimeType` is never used [INFO] [stdout] --> src/lang/func/function_registry.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | pub enum RuntimeType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `matches_type` is never used [INFO] [stdout] --> src/lang/func/function_registry.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 74 | impl RuntimeValue { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 75 | fn matches_type(&self, runtime_type: &RuntimeType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Function` is never constructed [INFO] [stdout] --> src/lang/func/function_registry.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Function { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lang/func/function_registry.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl Function { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 95 | pub fn new(name: String, expected_params: ParamCount, param_types: Vec, implementation: Box Ru... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Arguments` is never constructed [INFO] [stdout] --> src/lang/func/function_registry.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Arguments { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/lang/func/function_registry.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl Arguments { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 107 | [INFO] [stdout] 108 | pub fn new(args: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn args(&self) -> &Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | fn get(&self, index: usize, extractor: fn(&RuntimeValue) -> Option<&T>, expected: &str) -> &T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn has(&self, index: usize) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn as_str(&self, index: usize) -> &String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn as_bool(&self, index: usize) -> &bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn as_f32(&self, index: usize) -> &f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn as_any(&self, index: usize) -> &RuntimeValue { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_native_functions` is never used [INFO] [stdout] --> src/lang/func/native_functions.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn load_native_functions(fr: &mut FunctionRegistry) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Env` is never constructed [INFO] [stdout] --> src/lang/env.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Env { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, `update`, and `get` are never used [INFO] [stdout] --> src/lang/env.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Env { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 12 | [INFO] [stdout] 13 | pub fn new(parent: Option) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn add(&mut self, var_name: String, value: RuntimeValue) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn update(&mut self, var_name: String, value: RuntimeValue) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get(&self, var_name: &str) -> &RuntimeValue { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "65d36c1de1478c6a1c3b031818a6f20d46ee4ebf82588cf7f3fe407b378f1ef5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65d36c1de1478c6a1c3b031818a6f20d46ee4ebf82588cf7f3fe407b378f1ef5", kill_on_drop: false }` [INFO] [stdout] 65d36c1de1478c6a1c3b031818a6f20d46ee4ebf82588cf7f3fe407b378f1ef5