[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] ed0d546cd190b92c3fe7bd0beb1663aa2b922c3a [INFO] checking Simon890/rusty-script against try#3c75d5844aa65b4aa19243ac44ceda49fe4e61ca for pr-143545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSimon890%2Frusty-script" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Simon890/rusty-script on toolchain 3c75d5844aa65b4aa19243ac44ceda49fe4e61ca [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3c75d5844aa65b4aa19243ac44ceda49fe4e61ca" "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" "+3c75d5844aa65b4aa19243ac44ceda49fe4e61ca" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+3c75d5844aa65b4aa19243ac44ceda49fe4e61ca" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87c93003f827901e3bfbd1297b8ae64b61a6b8e9f73976f1413f8081d7c53597 [INFO] running `Command { std: "docker" "start" "-a" "87c93003f827901e3bfbd1297b8ae64b61a6b8e9f73976f1413f8081d7c53597", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87c93003f827901e3bfbd1297b8ae64b61a6b8e9f73976f1413f8081d7c53597", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87c93003f827901e3bfbd1297b8ae64b61a6b8e9f73976f1413f8081d7c53597", kill_on_drop: false }` [INFO] [stdout] 87c93003f827901e3bfbd1297b8ae64b61a6b8e9f73976f1413f8081d7c53597 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+3c75d5844aa65b4aa19243ac44ceda49fe4e61ca" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b90d15250c51af6b79c30957e247cda524888df209a3621e347c7ee33c18826 [INFO] running `Command { std: "docker" "start" "-a" "5b90d15250c51af6b79c30957e247cda524888df209a3621e347c7ee33c18826", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking interpreter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `index` is never read [INFO] [stdout] --> src/lang/func/function_registry.rs:39:17 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `index` is never read [INFO] [stdout] --> src/lang/func/function_registry.rs:39:17 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/lang/tokenizer.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 301 | Identifier { [INFO] [stdout] | ---------- field in this variant [INFO] [stdout] 302 | 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/lang/tokenizer.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 304 | NumberLiteral { [INFO] [stdout] | ------------- field in this variant [INFO] [stdout] 305 | 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:308:9 [INFO] [stdout] | [INFO] [stdout] 307 | BoolLiteral { [INFO] [stdout] | ----------- field in this variant [INFO] [stdout] 308 | 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:311:9 [INFO] [stdout] | [INFO] [stdout] 310 | StringLiteral { [INFO] [stdout] | ------------- field in this variant [INFO] [stdout] 311 | 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:335:12 [INFO] [stdout] | [INFO] [stdout] 334 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 335 | pub fn kind(&self) -> TokenKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | pub fn as_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | pub fn as_f32(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | 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:386:10 [INFO] [stdout] | [INFO] [stdout] 386 | 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] 44 | fn current(&self) -> Token { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn is_eof(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | fn advance(&mut self, expected: Option) -> Token { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn expect(&self, token: TokenKind) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn is_expr(&self, token: &Token) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | fn parse_expr(&mut self) -> Rc { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | fn parse_var_assignment(&mut self) -> Rc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | fn parse_var_declaration(&mut self) -> Rc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn parse_function(&mut self) -> Rc { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn parse_args(&mut self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | fn parse_pow_expression(&mut self) -> Rc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | fn parse_sum_expression(&mut self) -> Rc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | fn parse_mul_expression(&mut self) -> Rc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | fn parse_unary_expression(&mut self) -> Rc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ASTNode` is never used [INFO] [stdout] --> src/lang/parser.rs:226:10 [INFO] [stdout] | [INFO] [stdout] 226 | 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] 42 | fn var_declaration(&mut self, node: Rc) -> RuntimeValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn var_assignment(&mut self, node: Rc) -> RuntimeValue { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn binary_expression(&mut self, node: Rc) -> RuntimeValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | fn unary_expression(&mut self, node: Rc) -> RuntimeValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn function_call(&mut self, node: Rc) -> RuntimeValue { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Bool` and `Null` are never constructed [INFO] [stdout] --> src/lang/interpreter.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub enum RuntimeValue { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 98 | Bool(bool), [INFO] [stdout] | ^^^^ [INFO] [stdout] 99 | Null [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuntimeValue` 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: method `pow` is never used [INFO] [stdout] --> src/lang/interpreter.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 152 | impl RuntimeValue { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 153 | 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:164:12 [INFO] [stdout] | [INFO] [stdout] 163 | impl RuntimeValue { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 164 | 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 Runtime... [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] [stdout] warning: methods `as_f32` and `as_bool` are never used [INFO] [stdout] --> src/lang/tokenizer.rs:370:12 [INFO] [stdout] | [INFO] [stdout] 334 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 370 | pub fn as_f32(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 377 | pub fn as_bool(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.32s [INFO] running `Command { std: "docker" "inspect" "5b90d15250c51af6b79c30957e247cda524888df209a3621e347c7ee33c18826", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b90d15250c51af6b79c30957e247cda524888df209a3621e347c7ee33c18826", kill_on_drop: false }` [INFO] [stdout] 5b90d15250c51af6b79c30957e247cda524888df209a3621e347c7ee33c18826