[INFO] cloning repository https://github.com/MrRooten/fscript-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MrRooten/fscript-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrRooten%2Ffscript-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrRooten%2Ffscript-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 464c9a6ac64d80b08173e9d880cedd4a1a9f02cc [INFO] checking MrRooten/fscript-rs against master#d2e8ecd8bd26a22111cdebfb813258450b07fbf0 for pr-121199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrRooten%2Ffscript-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MrRooten/fscript-rs on toolchain d2e8ecd8bd26a22111cdebfb813258450b07fbf0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d2e8ecd8bd26a22111cdebfb813258450b07fbf0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MrRooten/fscript-rs [INFO] finished tweaking git repo https://github.com/MrRooten/fscript-rs [INFO] tweaked toml for git repo https://github.com/MrRooten/fscript-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MrRooten/fscript-rs 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" "+d2e8ecd8bd26a22111cdebfb813258450b07fbf0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking MrRooten/fscript-rs against try#aface909a877127f24c62858518cef2d593e2ea1 for pr-121199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrRooten%2Ffscript-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MrRooten/fscript-rs on toolchain aface909a877127f24c62858518cef2d593e2ea1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aface909a877127f24c62858518cef2d593e2ea1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MrRooten/fscript-rs [INFO] finished tweaking git repo https://github.com/MrRooten/fscript-rs [INFO] tweaked toml for git repo https://github.com/MrRooten/fscript-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MrRooten/fscript-rs 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" "+aface909a877127f24c62858518cef2d593e2ea1" "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 MrRooten/fscript-rs against try#aface909a877127f24c62858518cef2d593e2ea1 for pr-121199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMrRooten%2Ffscript-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MrRooten/fscript-rs on toolchain aface909a877127f24c62858518cef2d593e2ea1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aface909a877127f24c62858518cef2d593e2ea1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MrRooten/fscript-rs [INFO] finished tweaking git repo https://github.com/MrRooten/fscript-rs [INFO] tweaked toml for git repo https://github.com/MrRooten/fscript-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MrRooten/fscript-rs 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" "+aface909a877127f24c62858518cef2d593e2ea1" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+aface909a877127f24c62858518cef2d593e2ea1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82778f4a3de896398565f0edc73470df9b2a74baf0ce48fa0f355a24353c06b9 [INFO] running `Command { std: "docker" "start" "-a" "82778f4a3de896398565f0edc73470df9b2a74baf0ce48fa0f355a24353c06b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82778f4a3de896398565f0edc73470df9b2a74baf0ce48fa0f355a24353c06b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82778f4a3de896398565f0edc73470df9b2a74baf0ce48fa0f355a24353c06b9", kill_on_drop: false }` [INFO] [stdout] 82778f4a3de896398565f0edc73470df9b2a74baf0ce48fa0f355a24353c06b9 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+aface909a877127f24c62858518cef2d593e2ea1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b40fdb011dec62b8b3cbd2f92132d3723af2c8a68061b3fcb02381f193736a08 [INFO] running `Command { std: "docker" "start" "-a" "b40fdb011dec62b8b3cbd2f92132d3723af2c8a68061b3fcb02381f193736a08", kill_on_drop: false }` [INFO] [stderr] Checking fscript-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | if state == ExprState::Bracket && source[start+length] as char != ')' { [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:245:16 [INFO] [stdout] | [INFO] [stdout] 245 | if state == ExprState::Bracket && source[start+length] as char == ')' { [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:253:17 [INFO] [stdout] | [INFO] [stdout] 253 | state = ExprState::WaitToken; [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:257:16 [INFO] [stdout] | [INFO] [stdout] 257 | if state == ExprState::WaitToken && (t_i as char).is_digit(10) { [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | state = ExprState::Number; [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:263:16 [INFO] [stdout] | [INFO] [stdout] 263 | if state == ExprState::Number && (t_i as char).is_digit(10) == false && (t_i as char) == '.' { [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | state = ExprState::Float; [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:270:16 [INFO] [stdout] | [INFO] [stdout] 270 | if state == ExprState::Number && (t_i as char).is_digit(10) { [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:284:16 [INFO] [stdout] | [INFO] [stdout] 284 | if state == ExprState::Number && ((t_i as char).is_digit(10) == false && (t_i as char) != '.') { [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | state = ExprState::WaitToken; [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:295:16 [INFO] [stdout] | [INFO] [stdout] 295 | if state == ExprState::Float && (t_i as char).is_digit(10) == false { [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:296:17 [INFO] [stdout] | [INFO] [stdout] 296 | state = ExprState::WaitToken; [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:304:16 [INFO] [stdout] | [INFO] [stdout] 304 | if state == ExprState::WaitToken && ASTParser::is_name_letter(i) { [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:305:17 [INFO] [stdout] | [INFO] [stdout] 305 | state = ExprState::Variable; [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:310:16 [INFO] [stdout] | [INFO] [stdout] 310 | if state == ExprState::Variable && ASTParser::is_name_letter(t_i) { [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:322:16 [INFO] [stdout] | [INFO] [stdout] 322 | if state == ExprState::Variable && ASTParser::is_name_letter(t_i) == false { [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | state = ExprState::WaitToken; [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | if state == ExprState::WaitToken && Self::is_op_one_char(i as char) { [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:335:17 [INFO] [stdout] | [INFO] [stdout] 335 | state = ExprState::Operator; [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:341:16 [INFO] [stdout] | [INFO] [stdout] 341 | if state == ExprState::Operator && Self::is_op_one_char(t_i as char) { [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:345:23 [INFO] [stdout] | [INFO] [stdout] 345 | } else if state == ExprState::Operator { [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:349:17 [INFO] [stdout] | [INFO] [stdout] 349 | state = ExprState::WaitToken; [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ascii::AsciiExt`, `ops::Range` [INFO] [stdout] --> src/frontend/ast/parse.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Error, ops::Range, ascii::AsciiExt}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `base::FSRTokenState`, `if_statement::FSRIfState`, `statement::ASTState` [INFO] [stdout] --> src/frontend/ast/parse.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::frontend::ast::token::{statement::ASTState, base::FSRTokenState, if_statement::FSRIfState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/frontend/ast/token/function_def.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fmt::Error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `backend::base_type::function` [INFO] [stdout] --> src/frontend/ast/token/function_def.rs:3:154 [INFO] [stdout] | [INFO] [stdout] 3 | ...ssign::FSRAssign, call::FSRCall}, parse::ASTParser}, backend::base_type::function}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hashtable::FSRHashtable` [INFO] [stdout] --> src/frontend/ast/token/function_def.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{base::FSRToken, hashtable::FSRHashtable}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::backend::base_type::function::FSRFunction` [INFO] [stdout] --> src/frontend/ast/token/base.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::backend::base_type::function::FSRFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Error` [INFO] [stdout] --> src/frontend/ast/token/call.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FSRConstantType` [INFO] [stdout] --> src/frontend/ast/token/expr.rs:4:77 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::frontend::ast::{parse::ASTParser, token::constant::{FSRConstant, FSRConstantType}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/frontend/ast/token/expr.rs:6:53 [INFO] [stdout] | [INFO] [stdout] 6 | use super::{base::FSRToken, variable::{FSRVariable, self}, call::FSRCall}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/frontend/ast/token/hashtable.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RefMut`, `Ref` [INFO] [stdout] --> src/backend/base_type/base.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::{Ref, RefMut}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/backend/base_type/base.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/utils/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | if state == ExprState::Bracket && source[start+length] as char != ')' { [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:245:16 [INFO] [stdout] | [INFO] [stdout] 245 | if state == ExprState::Bracket && source[start+length] as char == ')' { [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:253:17 [INFO] [stdout] | [INFO] [stdout] 253 | state = ExprState::WaitToken; [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:257:16 [INFO] [stdout] | [INFO] [stdout] 257 | if state == ExprState::WaitToken && (t_i as char).is_digit(10) { [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | state = ExprState::Number; [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:263:16 [INFO] [stdout] | [INFO] [stdout] 263 | if state == ExprState::Number && (t_i as char).is_digit(10) == false && (t_i as char) == '.' { [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | state = ExprState::Float; [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:270:16 [INFO] [stdout] | [INFO] [stdout] 270 | if state == ExprState::Number && (t_i as char).is_digit(10) { [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:284:16 [INFO] [stdout] | [INFO] [stdout] 284 | if state == ExprState::Number && ((t_i as char).is_digit(10) == false && (t_i as char) != '.') { [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | state = ExprState::WaitToken; [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:295:16 [INFO] [stdout] | [INFO] [stdout] 295 | if state == ExprState::Float && (t_i as char).is_digit(10) == false { [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:296:17 [INFO] [stdout] | [INFO] [stdout] 296 | state = ExprState::WaitToken; [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:304:16 [INFO] [stdout] | [INFO] [stdout] 304 | if state == ExprState::WaitToken && ASTParser::is_name_letter(i) { [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:305:17 [INFO] [stdout] | [INFO] [stdout] 305 | state = ExprState::Variable; [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:310:16 [INFO] [stdout] | [INFO] [stdout] 310 | if state == ExprState::Variable && ASTParser::is_name_letter(t_i) { [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:322:16 [INFO] [stdout] | [INFO] [stdout] 322 | if state == ExprState::Variable && ASTParser::is_name_letter(t_i) == false { [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | state = ExprState::WaitToken; [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:334:16 [INFO] [stdout] | [INFO] [stdout] 334 | if state == ExprState::WaitToken && Self::is_op_one_char(i as char) { [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:335:17 [INFO] [stdout] | [INFO] [stdout] 335 | state = ExprState::Operator; [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:341:16 [INFO] [stdout] | [INFO] [stdout] 341 | if state == ExprState::Operator && Self::is_op_one_char(t_i as char) { [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:345:23 [INFO] [stdout] | [INFO] [stdout] 345 | } else if state == ExprState::Operator { [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `state` in this scope [INFO] [stdout] --> src/frontend/ast/token/expr.rs:349:17 [INFO] [stdout] | [INFO] [stdout] 349 | state = ExprState::WaitToken; [INFO] [stdout] | ^^^^^ help: a local variable with a similar name exists: `states` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ascii::AsciiExt`, `ops::Range` [INFO] [stdout] --> src/frontend/ast/parse.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Error, ops::Range, ascii::AsciiExt}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `base::FSRTokenState`, `if_statement::FSRIfState`, `statement::ASTState` [INFO] [stdout] --> src/frontend/ast/parse.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::frontend::ast::token::{statement::ASTState, base::FSRTokenState, if_statement::FSRIfState}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/frontend/ast/token/function_def.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, fmt::Error}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `backend::base_type::function` [INFO] [stdout] --> src/frontend/ast/token/function_def.rs:3:154 [INFO] [stdout] | [INFO] [stdout] 3 | ...ssign::FSRAssign, call::FSRCall}, parse::ASTParser}, backend::base_type::function}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hashtable::FSRHashtable` [INFO] [stdout] --> src/frontend/ast/token/function_def.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{base::FSRToken, hashtable::FSRHashtable}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::backend::base_type::function::FSRFunction` [INFO] [stdout] --> src/frontend/ast/token/base.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::backend::base_type::function::FSRFunction; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Error` [INFO] [stdout] --> src/frontend/ast/token/call.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FSRConstantType` [INFO] [stdout] --> src/frontend/ast/token/expr.rs:4:77 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::frontend::ast::{parse::ASTParser, token::constant::{FSRConstant, FSRConstantType}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/frontend/ast/token/expr.rs:6:53 [INFO] [stdout] | [INFO] [stdout] 6 | use super::{base::FSRToken, variable::{FSRVariable, self}, call::FSRCall}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/frontend/ast/token/hashtable.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RefMut`, `Ref` [INFO] [stdout] --> src/backend/base_type/base.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::{Ref, RefMut}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/backend/base_type/base.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/utils/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/frontend/ast/parse.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Error, ops::Range, ascii::AsciiExt}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/frontend/ast/parse.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Error, ops::Range, ascii::AsciiExt}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/frontend/ast/token/call.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 27 | / loop { [INFO] [stdout] 28 | | let i = source[start]; [INFO] [stdout] 29 | | let t_i = source[start + length]; [INFO] [stdout] 30 | | if state == CallState::Start && ASTParser::is_blank_char(i) { [INFO] [stdout] ... | [INFO] [stdout] 53 | | [INFO] [stdout] 54 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 55 | unimplemented!() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/frontend/ast/token/call.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 27 | / loop { [INFO] [stdout] 28 | | let i = source[start]; [INFO] [stdout] 29 | | let t_i = source[start + length]; [INFO] [stdout] 30 | | if state == CallState::Start && ASTParser::is_blank_char(i) { [INFO] [stdout] ... | [INFO] [stdout] 53 | | [INFO] [stdout] 54 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 55 | unimplemented!() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `unimplemented` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/frontend/ast/parse.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn is_token_letter(c: char) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/frontend/ast/parse.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn match_token(token: &str) -> (Option, bool) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/frontend/ast/parse.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_fn_expect_token(token: &ASTTokenEnum) -> FnExpectTokens { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/frontend/ast/parse.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn end_token_char(c: u8) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/frontend/ast/parse.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | fn token_process(token: &ASTTokenEnum, source: &str) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/frontend/ast/parse.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | fn token_process(token: &ASTTokenEnum, source: &str) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/frontend/ast/parse.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn parse(source: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/frontend/ast/token/if_statement.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn parse(source: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/frontend/ast/token/statement.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new(token: ASTTokenEnum, value: &str) -> ASTToken { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/frontend/ast/token/statement.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new(token: ASTTokenEnum, value: &str) -> ASTToken { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `process_stack` [INFO] [stdout] --> src/frontend/ast/token/function_def.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | let mut process_stack: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/frontend/ast/parse.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | fn is_token_letter(c: char) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/frontend/ast/token/function_def.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut cur_start = 0; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/frontend/ast/token/function_def.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut cur_length = 0; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/frontend/ast/token/function_def.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut process_stack: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/frontend/ast/parse.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn match_token(token: &str) -> (Option, bool) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/frontend/ast/parse.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_fn_expect_token(token: &ASTTokenEnum) -> FnExpectTokens { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/frontend/ast/parse.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn end_token_char(c: u8) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/frontend/ast/parse.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | fn token_process(token: &ASTTokenEnum, source: &str) {} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/frontend/ast/parse.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | fn token_process(token: &ASTTokenEnum, source: &str) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/frontend/ast/parse.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn parse(source: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `name` is assigned to, but never used [INFO] [stdout] --> src/frontend/ast/token/call.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let mut name = ""; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_name` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `name` is never read [INFO] [stdout] --> src/frontend/ast/token/call.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | name = str::from_utf8(&source[start..start+length]).unwrap(); [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: unused variable: `source` [INFO] [stdout] --> src/frontend/ast/token/if_statement.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn parse(source: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/frontend/ast/token/statement.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new(token: ASTTokenEnum, value: &str) -> ASTToken { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/frontend/ast/token/statement.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn new(token: ASTTokenEnum, value: &str) -> ASTToken { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `process_stack` [INFO] [stdout] --> src/frontend/ast/token/function_def.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | let mut process_stack: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_process_stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `name` is assigned to, but never used [INFO] [stdout] --> src/frontend/ast/token/assign.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut name: Option<&[u8]> = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_name` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `value` is assigned to, but never used [INFO] [stdout] --> src/frontend/ast/token/assign.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | let mut value: Option> = None; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_value` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len` is assigned to, but never used [INFO] [stdout] --> src/frontend/ast/token/assign.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let mut len = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_len` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `name` is never read [INFO] [stdout] --> src/frontend/ast/token/assign.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | name = Some(&source[start..start+length]); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `value` is never read [INFO] [stdout] --> src/frontend/ast/token/assign.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | value = Some(expr.0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/frontend/ast/token/function_def.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut cur_start = 0; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/frontend/ast/token/function_def.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut cur_length = 0; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/frontend/ast/token/function_def.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut process_stack: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/frontend/ast/token/expr.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/frontend/ast/token/expr.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn parse(s: &str) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/frontend/ast/token/bin_op.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn parse(source: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `name` is assigned to, but never used [INFO] [stdout] --> src/frontend/ast/token/call.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let mut name = ""; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_name` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/frontend/ast/token/bracket.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse(source: &[u8]) -> Result<(Self, usize), &str>{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `name` is never read [INFO] [stdout] --> src/frontend/ast/token/call.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | name = str::from_utf8(&source[start..start+length]).unwrap(); [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: unused variable: `args` [INFO] [stdout] --> src/backend/base_type/string.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | fn register_find_func(args: &HashMap<&str, u64>, manager: &FSRObjectManager) -> Result, Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manager` [INFO] [stdout] --> src/backend/base_type/string.rs:23:54 [INFO] [stdout] | [INFO] [stdout] 23 | fn register_find_func(args: &HashMap<&str, u64>, manager: &FSRObjectManager) -> Result, Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manager` [INFO] [stdout] --> src/backend/base_type/string.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | fn register_attrs(manager: &mut super::base::FSRObjectManager) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `name` is assigned to, but never used [INFO] [stdout] --> src/frontend/ast/token/assign.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let mut name: Option<&[u8]> = None; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_name` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `value` is assigned to, but never used [INFO] [stdout] --> src/frontend/ast/token/assign.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | let mut value: Option> = None; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_value` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `len` is assigned to, but never used [INFO] [stdout] --> src/frontend/ast/token/assign.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let mut len = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_len` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `name` is never read [INFO] [stdout] --> src/frontend/ast/token/assign.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | name = Some(&source[start..start+length]); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `value` is never read [INFO] [stdout] --> src/frontend/ast/token/assign.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | value = Some(expr.0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/backend/base_type/base.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn call(&self, name: &str, args: &HashMap<&str, &FSRObject>) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/frontend/ast/token/expr.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/backend/base_type/base.rs:99:36 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn call(&self, name: &str, args: &HashMap<&str, &FSRObject>) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/frontend/ast/token/expr.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn parse(s: &str) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/frontend/ast/token/bin_op.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn parse(source: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source` [INFO] [stdout] --> src/frontend/ast/token/bracket.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse(source: &[u8]) -> Result<(Self, usize), &str>{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/backend/base_type/string.rs:23:27 [INFO] [stdout] | [INFO] [stdout] 23 | fn register_find_func(args: &HashMap<&str, u64>, manager: &FSRObjectManager) -> Result, Error> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manager` [INFO] [stdout] --> src/backend/base_type/string.rs:23:54 [INFO] [stdout] | [INFO] [stdout] 23 | fn register_find_func(args: &HashMap<&str, u64>, manager: &FSRObjectManager) -> Result, Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `id` is never read [INFO] [stdout] --> src/backend/base_type/base.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | let mut id = 0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/backend/base_type/base.rs:186:18 [INFO] [stdout] | [INFO] [stdout] 186 | Some(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manager` [INFO] [stdout] --> src/backend/base_type/string.rs:46:23 [INFO] [stdout] | [INFO] [stdout] 46 | fn register_attrs(manager: &mut super::base::FSRObjectManager) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cls_name` [INFO] [stdout] --> src/backend/base_type/base.rs:232:34 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn new_object(&mut self, cls_name: &str, args: &FSRArgs) -> Result<&FSRObject, Error>{ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cls_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/backend/base_type/base.rs:232:50 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn new_object(&mut self, cls_name: &str, args: &FSRArgs) -> Result<&FSRObject, Error>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj` [INFO] [stdout] --> src/backend/base_type/integer.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn register(&mut self, obj: &mut FSRObject, manager: &mut FSRObjectManager) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manager` [INFO] [stdout] --> src/backend/base_type/integer.rs:48:53 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn register(&mut self, obj: &mut FSRObject, manager: &mut FSRObjectManager) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/backend/base_type/base.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn call(&self, name: &str, args: &HashMap<&str, &FSRObject>) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/backend/base_type/base.rs:99:36 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn call(&self, name: &str, args: &HashMap<&str, &FSRObject>) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/backend/base_type/integer.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn sub(&self, other: &FSRInteger) -> FSRInteger { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/backend/base_type/integer.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn mul(&self, other: &FSRInteger) -> FSRInteger { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/backend/base_type/integer.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn div(&self, other: &FSRInteger) -> FSRInteger { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manager` [INFO] [stdout] --> src/backend/base_type/integer.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | fn register_attrs(manager: &mut FSRObjectManager) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/backend/base_type/function.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(func: FSRFuncType) -> FSRFunction { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `id` is never read [INFO] [stdout] --> src/backend/base_type/base.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | let mut id = 0; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/backend/base_type/base.rs:186:18 [INFO] [stdout] | [INFO] [stdout] 186 | Some(s) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cls_name` [INFO] [stdout] --> src/backend/base_type/base.rs:232:34 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn new_object(&mut self, cls_name: &str, args: &FSRArgs) -> Result<&FSRObject, Error>{ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cls_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/backend/base_type/base.rs:232:50 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn new_object(&mut self, cls_name: &str, args: &FSRArgs) -> Result<&FSRObject, Error>{ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj` [INFO] [stdout] --> src/backend/base_type/integer.rs:48:32 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn register(&mut self, obj: &mut FSRObject, manager: &mut FSRObjectManager) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manager` [INFO] [stdout] --> src/backend/base_type/integer.rs:48:53 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn register(&mut self, obj: &mut FSRObject, manager: &mut FSRObjectManager) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/backend/base_type/integer.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn sub(&self, other: &FSRInteger) -> FSRInteger { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/backend/base_type/integer.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn mul(&self, other: &FSRInteger) -> FSRInteger { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/backend/base_type/integer.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn div(&self, other: &FSRInteger) -> FSRInteger { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manager` [INFO] [stdout] --> src/backend/base_type/integer.rs:140:23 [INFO] [stdout] | [INFO] [stdout] 140 | fn register_attrs(manager: &mut FSRObjectManager) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `func` [INFO] [stdout] --> src/backend/base_type/function.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(func: FSRFuncType) -> FSRFunction { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_func` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/backend/base_type/function.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | (unsafe { self.value })(args, manager) [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/backend/base_type/function.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | (unsafe { self.value })(args, manager) [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fscript-rs` (lib test) due to 23 previous errors; 57 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `fscript-rs` (lib) due to 23 previous errors; 57 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b40fdb011dec62b8b3cbd2f92132d3723af2c8a68061b3fcb02381f193736a08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b40fdb011dec62b8b3cbd2f92132d3723af2c8a68061b3fcb02381f193736a08", kill_on_drop: false }` [INFO] [stdout] b40fdb011dec62b8b3cbd2f92132d3723af2c8a68061b3fcb02381f193736a08