[INFO] cloning repository https://github.com/HelloAIXIAOJI/JsonLang
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HelloAIXIAOJI/JsonLang" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHelloAIXIAOJI%2FJsonLang", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHelloAIXIAOJI%2FJsonLang'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2e877445ea22896a98b1bdbfdd9af4385490c5f4
[INFO] checking HelloAIXIAOJI/JsonLang against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHelloAIXIAOJI%2FJsonLang" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/HelloAIXIAOJI/JsonLang
[INFO] finished tweaking git repo https://github.com/HelloAIXIAOJI/JsonLang
[INFO] tweaked toml for git repo https://github.com/HelloAIXIAOJI/JsonLang written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/HelloAIXIAOJI/JsonLang on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/HelloAIXIAOJI/JsonLang 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded icu_properties v2.0.0
[INFO] [stderr]   Downloaded icu_properties_data v2.0.0
[INFO] [stderr]   Downloaded openssl-sys v0.9.108
[INFO] [stderr]   Downloaded mlua v0.8.10
[INFO] [stderr]   Downloaded luajit-src v210.4.8+resty107baaf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 068292466cbeb2a5f1ca32f687c241e9bdbd58129449c112025ac36288a93915
[INFO] running `Command { std: "docker" "start" "-a" "068292466cbeb2a5f1ca32f687c241e9bdbd58129449c112025ac36288a93915", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "068292466cbeb2a5f1ca32f687c241e9bdbd58129449c112025ac36288a93915", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "068292466cbeb2a5f1ca32f687c241e9bdbd58129449c112025ac36288a93915", kill_on_drop: false }`
[INFO] [stdout] 068292466cbeb2a5f1ca32f687c241e9bdbd58129449c112025ac36288a93915
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5de966dac3c1297fbc1e649f160addd4a0eb0d3d77848386a20ad27a984d89f7
[INFO] running `Command { std: "docker" "start" "-a" "5de966dac3c1297fbc1e649f160addd4a0eb0d3d77848386a20ad27a984d89f7", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling cc v1.2.22
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling icu_properties_data v2.0.0
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]     Checking hashbrown v0.15.3
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]     Checking bstr v0.2.17
[INFO] [stderr]     Checking urlencoding v2.1.3
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking socket2 v0.5.9
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking tokio v1.45.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling lua-src v546.0.2
[INFO] [stderr]    Compiling openssl-sys v0.9.108
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling luajit-src v210.4.8+resty107baaf
[INFO] [stderr]    Compiling mlua v0.8.10
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking zerovec v0.11.2
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.0
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking JiLang v0.4.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ExternalModuleOptions`
[INFO] [stdout]  --> src/interpreter/context.rs:4:55
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::modules::external_module::{ExternalModule, ExternalModuleOptions};
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ReferenceType`
[INFO] [stdout]  --> src/interpreter/context.rs:7:52
[INFO] [stdout]   |
[INFO] [stdout] 7 | use super::variable_reference::{VariableReference, ReferenceType};
[INFO] [stdout]   |                                                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::is_print_full_values`
[INFO] [stdout]  --> src/interpreter/context.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::is_print_full_values;  // 导入新函数
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::BTreeMap`
[INFO] [stdout]  --> src/interpreter/context.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::collections::BTreeMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ReferenceType`
[INFO] [stdout]  --> src/interpreter/statements/basic.rs:5:59
[INFO] [stdout]   |
[INFO] [stdout] 5 | use super::super::variable_reference::{VariableReference, ReferenceType};
[INFO] [stdout]   |                                                           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::is_print_full_values`
[INFO] [stdout]  --> src/interpreter/statements/basic.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::is_print_full_values;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/interpreter/statements/control_flow.rs:4:54
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::super::error::error_messages::statement::{self, control_flow, switch, try_catch};
[INFO] [stdout]   |                                                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ReferenceType`
[INFO] [stdout]  --> src/interpreter/statements/control_flow.rs:8:59
[INFO] [stdout]   |
[INFO] [stdout] 8 | use super::super::variable_reference::{VariableReference, ReferenceType};
[INFO] [stdout]   |                                                           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ReferenceType`
[INFO] [stdout]  --> src/interpreter/statements/function.rs:7:59
[INFO] [stdout]   |
[INFO] [stdout] 7 | use super::super::variable_reference::{VariableReference, ReferenceType};
[INFO] [stdout]   |                                                           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::super::error::error_messages::statement`
[INFO] [stdout]  --> src/interpreter/statements/object.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::super::error::error_messages::statement;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ReferenceType`
[INFO] [stdout]   --> src/interpreter/statements/mod.rs:14:52
[INFO] [stdout]    |
[INFO] [stdout] 14 | use super::variable_reference::{VariableReference, ReferenceType};
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `function::*`
[INFO] [stdout]   --> src/interpreter/statements/mod.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub use function::*;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prelude::LuaFunction`
[INFO] [stdout]  --> src/modules/lua_module.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use mlua::{Lua, prelude::LuaFunction, prelude::LuaTable, Error as LuaError};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ExternalModuleOptions`
[INFO] [stdout]   --> src/modules/mod.rs:11:58
[INFO] [stdout]    |
[INFO] [stdout] 11 | use external_module::{ModuleRegistry, JLangModuleLoader, ExternalModuleOptions};
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::interpreter::statements::execute_function`
[INFO] [stdout]    --> src/modules/mod.rs:113:9
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub use crate::interpreter::statements::execute_function;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ExternalModuleOptions`
[INFO] [stdout]  --> src/interpreter/context.rs:4:55
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::modules::external_module::{ExternalModule, ExternalModuleOptions};
[INFO] [stdout]   |                                                       ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ReferenceType`
[INFO] [stdout]  --> src/interpreter/context.rs:7:52
[INFO] [stdout]   |
[INFO] [stdout] 7 | use super::variable_reference::{VariableReference, ReferenceType};
[INFO] [stdout]   |                                                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::is_print_full_values`
[INFO] [stdout]  --> src/interpreter/context.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::is_print_full_values;  // 导入新函数
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::BTreeMap`
[INFO] [stdout]  --> src/interpreter/context.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::collections::BTreeMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ReferenceType`
[INFO] [stdout]  --> src/interpreter/statements/basic.rs:5:59
[INFO] [stdout]   |
[INFO] [stdout] 5 | use super::super::variable_reference::{VariableReference, ReferenceType};
[INFO] [stdout]   |                                                           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::is_print_full_values`
[INFO] [stdout]  --> src/interpreter/statements/basic.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::is_print_full_values;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]  --> src/interpreter/statements/control_flow.rs:4:54
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::super::error::error_messages::statement::{self, control_flow, switch, try_catch};
[INFO] [stdout]   |                                                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ReferenceType`
[INFO] [stdout]  --> src/interpreter/statements/control_flow.rs:8:59
[INFO] [stdout]   |
[INFO] [stdout] 8 | use super::super::variable_reference::{VariableReference, ReferenceType};
[INFO] [stdout]   |                                                           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ReferenceType`
[INFO] [stdout]  --> src/interpreter/statements/function.rs:7:59
[INFO] [stdout]   |
[INFO] [stdout] 7 | use super::super::variable_reference::{VariableReference, ReferenceType};
[INFO] [stdout]   |                                                           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::super::error::error_messages::statement`
[INFO] [stdout]  --> src/interpreter/statements/object.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::super::error::error_messages::statement;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ReferenceType`
[INFO] [stdout]   --> src/interpreter/statements/mod.rs:14:52
[INFO] [stdout]    |
[INFO] [stdout] 14 | use super::variable_reference::{VariableReference, ReferenceType};
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `function::*`
[INFO] [stdout]   --> src/interpreter/statements/mod.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub use function::*;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `prelude::LuaFunction`
[INFO] [stdout]  --> src/modules/lua_module.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use mlua::{Lua, prelude::LuaFunction, prelude::LuaTable, Error as LuaError};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ExternalModuleOptions`
[INFO] [stdout]   --> src/modules/mod.rs:11:58
[INFO] [stdout]    |
[INFO] [stdout] 11 | use external_module::{ModuleRegistry, JLangModuleLoader, ExternalModuleOptions};
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::interpreter::statements::execute_function`
[INFO] [stdout]    --> src/modules/mod.rs:113:9
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub use crate::interpreter::statements::execute_function;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `var_name`
[INFO] [stdout]    --> src/interpreter/statements/function.rs:140:30
[INFO] [stdout]     |
[INFO] [stdout] 140 |                         for (var_name, var_value) in var_obj {
[INFO] [stdout]     |                              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_var_name`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `func_args`
[INFO] [stdout]    --> src/interpreter/statements/function.rs:143:53
[INFO] [stdout]     |
[INFO] [stdout] 143 | ...                   let (func_type, func_args) = nested_obj.iter().next().unwrap();
[INFO] [stdout]     |                                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `var_name`
[INFO] [stdout]    --> src/interpreter/statements/mod.rs:456:30
[INFO] [stdout]     |
[INFO] [stdout] 456 |                         for (var_name, var_value) in var_obj {
[INFO] [stdout]     |                              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_var_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `func_args`
[INFO] [stdout]    --> src/interpreter/statements/mod.rs:459:53
[INFO] [stdout]     |
[INFO] [stdout] 459 | ...                   let (func_type, func_args) = nested_obj.iter().next().unwrap();
[INFO] [stdout]     |                                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/interpreter/variable_reference.rs:621:34
[INFO] [stdout]     |
[INFO] [stdout] 621 |                     let key = if let Ok(s) = index_value.to_string().parse::<String>() {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `obj`
[INFO] [stdout]    --> src/interpreter/variable_reference.rs:538:49
[INFO] [stdout]     |
[INFO] [stdout] 538 | ...                   if let Some(obj) = element.as_object() {
[INFO] [stdout]     |                                   ^^^ help: if this is intentional, prefix it with an underscore: `_obj`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dot_pos`
[INFO] [stdout]    --> src/interpreter/variable_reference.rs:660:17
[INFO] [stdout]     |
[INFO] [stdout] 660 |     if let Some(dot_pos) = text.find('.') {
[INFO] [stdout]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dot_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `module_type`
[INFO] [stdout]   --> src/modules/mod.rs:71:20
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let (path, module_type) = external_module_result.unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `debug_mode` and `include_stack_trace` are never read
[INFO] [stdout]   --> src/interpreter/context.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct ContextOptions {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 14 |     pub debug_mode: bool,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 15 |     pub include_stack_trace: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ContextOptions` 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: fields `current_path` and `options` are never read
[INFO] [stdout]   --> src/interpreter/context.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Context {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub current_path: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 25 |     pub options: ContextOptions,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `process_special_chars` is never used
[INFO] [stdout]    --> src/interpreter/context.rs:274:12
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl Context {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 274 |     pub fn process_special_chars(&self, text: &str) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCTION_CALL_MISSING_NAME` is never used
[INFO] [stdout]   --> src/interpreter/error.rs:91:19
[INFO] [stdout]    |
[INFO] [stdout] 91 |         pub const FUNCTION_CALL_MISSING_NAME: &str = "函数调用缺少函数名，你要调用哪个函数啊，笨蛋！";
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INVALID_FUNCTION_CALL` is never used
[INFO] [stdout]   --> src/interpreter/error.rs:92:19
[INFO] [stdout]    |
[INFO] [stdout] 92 |         pub const INVALID_FUNCTION_CALL: &str = "无效的函数调用，哼～函数调用失败啦！";
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IF_MISSING_FIELDS` is never used
[INFO] [stdout]   --> src/interpreter/error.rs:99:23
[INFO] [stdout]    |
[INFO] [stdout] 99 |             pub const IF_MISSING_FIELDS: &str = "'if' 语句缺少必要的字段，喂！条件判断写错了啦！";
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CASE_NOT_OBJ` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:116:23
[INFO] [stdout]     |
[INFO] [stdout] 116 |             pub const CASE_NOT_OBJ: &str = "case 必须是一个对象，喵～case应该是对象才对～";
[INFO] [stdout]     |                       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CASE_MISSING_FIELDS` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:117:23
[INFO] [stdout]     |
[INFO] [stdout] 117 |             pub const CASE_MISSING_FIELDS: &str = "case 缺少 'value' 或 'body' 字段，呜～case缺少必要的字段～";
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CASE_BODY_NOT_ARRAY` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:118:23
[INFO] [stdout]     |
[INFO] [stdout] 118 |             pub const CASE_BODY_NOT_ARRAY: &str = "case 'body' 必须是一个数组，哇哦～case的body应该是数组呀～";
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_BODY_NOT_ARRAY` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:119:23
[INFO] [stdout]     |
[INFO] [stdout] 119 |             pub const DEFAULT_BODY_NOT_ARRAY: &str = "default case 'body' 必须是一个数组，咿呀～default的body要是数组～";
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TRY_BODY_NOT_ARRAY` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:126:23
[INFO] [stdout]     |
[INFO] [stdout] 126 |             pub const TRY_BODY_NOT_ARRAY: &str = "'try' 字段必须是一个数组，呜～try的body应该是数组啦～";
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CATCH_BODY_NOT_ARRAY` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:127:23
[INFO] [stdout]     |
[INFO] [stdout] 127 |             pub const CATCH_BODY_NOT_ARRAY: &str = "'catch' 字段必须是一个数组，咿呀～catch的body应该是数组才对～";
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FINALLY_BODY_NOT_ARRAY` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:128:23
[INFO] [stdout]     |
[INFO] [stdout] 128 |             pub const FINALLY_BODY_NOT_ARRAY: &str = "'finally' 字段必须是一个数组，哎呀～finally的body也需要是数组～";
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ERROR_VAR_NOT_STRING` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:129:23
[INFO] [stdout]     |
[INFO] [stdout] 129 |             pub const ERROR_VAR_NOT_STRING: &str = "'error_var' 必须是一个字符串，喵喵～变量名必须是字符串啦～";
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `var_not_exist` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:154:20
[INFO] [stdout]     |
[INFO] [stdout] 154 |             pub fn var_not_exist(name: &str) -> String {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SET_FIRST_ARG_NOT_ARRAY_REF` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:159:23
[INFO] [stdout]     |
[INFO] [stdout] 159 | ...   pub const SET_FIRST_ARG_NOT_ARRAY_REF: &str = "'array.set' 的第一个参数必须是一个数组变量引用，咦咦～这不是数组引用～";
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SET_FIRST_ARG_NOT_STRING_REF` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:160:23
[INFO] [stdout]     |
[INFO] [stdout] 160 | ...   pub const SET_FIRST_ARG_NOT_STRING_REF: &str = "'array.set' 的第一个参数必须是一个字符串变量引用，嘤～参数类型错误～";
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SET_SECOND_ARG_NOT_INDEX` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:161:23
[INFO] [stdout]     |
[INFO] [stdout] 161 | ...   pub const SET_SECOND_ARG_NOT_INDEX: &str = "'array.set' 的第二个参数必须是一个数字索引，呀咧～索引要是数字啦～";
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_first_arg_not_array_ref` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:174:20
[INFO] [stdout]     |
[INFO] [stdout] 174 |             pub fn get_first_arg_not_array_ref(name: &str) -> String {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first_arg_not_array` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:178:20
[INFO] [stdout]     |
[INFO] [stdout] 178 |             pub fn first_arg_not_array(name: &str) -> String {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_second_arg_must_be_number` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:182:20
[INFO] [stdout]     |
[INFO] [stdout] 182 |             pub fn get_second_arg_must_be_number(name: &str) -> String {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_third_arg_must_be_number` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:198:20
[INFO] [stdout]     |
[INFO] [stdout] 198 |             pub fn get_third_arg_must_be_number() -> String {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `resolve_variable_reference` is never used
[INFO] [stdout]    --> src/interpreter/statements/mod.rs:315:8
[INFO] [stdout]     |
[INFO] [stdout] 315 | pub fn resolve_variable_reference(text: &str, context: &Context) -> Option<Value> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `execute_function` is never used
[INFO] [stdout]   --> src/interpreter/statements/function.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn execute_function(func: &Value, context: &mut Context, params: Option<&Value>) -> Result<Value> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `resolve_variable_value` is never used
[INFO] [stdout]    --> src/interpreter/variable_reference.rs:418:8
[INFO] [stdout]     |
[INFO] [stdout] 418 | pub fn resolve_variable_value(value: &Value, 
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_built_in_modules` is never used
[INFO] [stdout]    --> src/modules/mod.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn init_built_in_modules() -> Vec<Box<dyn Module>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/modules/external_module.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct FunctionMetadata {
[INFO] [stdout]    |            ---------------- field in this struct
[INFO] [stdout] 25 |     /// 函数名称
[INFO] [stdout] 26 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FunctionMetadata` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `default_value` is never read
[INFO] [stdout]   --> src/modules/external_module.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct ParameterMetadata {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub default_value: Option<Value>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ParameterMetadata` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ExternalModuleType` is never used
[INFO] [stdout]   --> src/modules/external_module.rs:54:10
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub enum ExternalModuleType {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `allow_filesystem`, `allow_network`, `memory_limit_mb`, `execution_timeout_ms`, and `env_vars` are never read
[INFO] [stdout]   --> src/modules/external_module.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub struct ExternalModuleOptions {
[INFO] [stdout]    |            --------------------- fields in this struct
[INFO] [stdout] 66 |     /// 是否允许文件系统访问
[INFO] [stdout] 67 |     pub allow_filesystem: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 68 |     /// 是否允许网络访问
[INFO] [stdout] 69 |     pub allow_network: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 70 |     /// 内存使用限制 (MB)
[INFO] [stdout] 71 |     pub memory_limit_mb: Option<usize>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 72 |     /// 执行超时 (ms)
[INFO] [stdout] 73 |     pub execution_timeout_ms: Option<u64>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 74 |     /// 自定义环境变量
[INFO] [stdout] 75 |     pub env_vars: HashMap<String, String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ExternalModuleOptions` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/modules/external_module.rs:96:8
[INFO] [stdout]     |
[INFO] [stdout]  94 | pub trait ExternalModule: Module {
[INFO] [stdout]     |           -------------- methods in this trait
[INFO] [stdout]  95 |     /// 获取模块类型
[INFO] [stdout]  96 |     fn get_module_type(&self) -> ExternalModuleType;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     fn get_options(&self) -> &ExternalModuleOptions;
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     fn set_options(&mut self, options: ExternalModuleOptions) -> Result<()>;
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     fn reload(&mut self) -> Result<()>;
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     fn get_function_metadata(&self, name: &str) -> Option<&FunctionMetadata>;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |     fn get_all_function_metadata(&self) -> Vec<&FunctionMetadata>;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     fn initialize(&mut self) -> Result<()>;
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     fn destroy(&mut self) -> Result<()>;
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `resolve_path` is never used
[INFO] [stdout]    --> src/modules/external_module.rs:230:8
[INFO] [stdout]     |
[INFO] [stdout] 160 | impl ModuleRegistry {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 230 |     fn resolve_path(&self, path: &str) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `options` is never read
[INFO] [stdout]    --> src/modules/external_module.rs:596:5
[INFO] [stdout]     |
[INFO] [stdout] 592 | pub struct JLangExternalModule {
[INFO] [stdout]     |            ------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 596 |     options: ExternalModuleOptions,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `path` and `options` are never read
[INFO] [stdout]    --> src/modules/lua_module.rs:198:5
[INFO] [stdout]     |
[INFO] [stdout] 196 | pub struct LuaModule {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] 197 |     name: String,
[INFO] [stdout] 198 |     path: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 202 |     options: ExternalModuleOptions,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/modules/mod.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         MODULE_REGISTRY.as_ref().unwrap()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/modules/mod.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |         MODULE_REGISTRY.as_mut().unwrap()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `var_name`
[INFO] [stdout]    --> src/interpreter/statements/function.rs:140:30
[INFO] [stdout]     |
[INFO] [stdout] 140 |                         for (var_name, var_value) in var_obj {
[INFO] [stdout]     |                              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_var_name`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `func_args`
[INFO] [stdout]    --> src/interpreter/statements/function.rs:143:53
[INFO] [stdout]     |
[INFO] [stdout] 143 | ...                   let (func_type, func_args) = nested_obj.iter().next().unwrap();
[INFO] [stdout]     |                                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `var_name`
[INFO] [stdout]    --> src/interpreter/statements/mod.rs:456:30
[INFO] [stdout]     |
[INFO] [stdout] 456 |                         for (var_name, var_value) in var_obj {
[INFO] [stdout]     |                              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_var_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `func_args`
[INFO] [stdout]    --> src/interpreter/statements/mod.rs:459:53
[INFO] [stdout]     |
[INFO] [stdout] 459 | ...                   let (func_type, func_args) = nested_obj.iter().next().unwrap();
[INFO] [stdout]     |                                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_func_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]    --> src/interpreter/variable_reference.rs:621:34
[INFO] [stdout]     |
[INFO] [stdout] 621 |                     let key = if let Ok(s) = index_value.to_string().parse::<String>() {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]     = help: consider replacing the `if let` with a `let`
[INFO] [stdout]     = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `obj`
[INFO] [stdout]    --> src/interpreter/variable_reference.rs:538:49
[INFO] [stdout]     |
[INFO] [stdout] 538 | ...                   if let Some(obj) = element.as_object() {
[INFO] [stdout]     |                                   ^^^ help: if this is intentional, prefix it with an underscore: `_obj`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dot_pos`
[INFO] [stdout]    --> src/interpreter/variable_reference.rs:660:17
[INFO] [stdout]     |
[INFO] [stdout] 660 |     if let Some(dot_pos) = text.find('.') {
[INFO] [stdout]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dot_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `module_type`
[INFO] [stdout]   --> src/modules/mod.rs:71:20
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let (path, module_type) = external_module_result.unwrap();
[INFO] [stdout]    |                    ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_module_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `debug_mode` and `include_stack_trace` are never read
[INFO] [stdout]   --> src/interpreter/context.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct ContextOptions {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] 14 |     pub debug_mode: bool,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 15 |     pub include_stack_trace: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ContextOptions` 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: fields `current_path` and `options` are never read
[INFO] [stdout]   --> src/interpreter/context.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct Context {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub current_path: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 25 |     pub options: ContextOptions,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `process_special_chars` is never used
[INFO] [stdout]    --> src/interpreter/context.rs:274:12
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl Context {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 274 |     pub fn process_special_chars(&self, text: &str) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FUNCTION_CALL_MISSING_NAME` is never used
[INFO] [stdout]   --> src/interpreter/error.rs:91:19
[INFO] [stdout]    |
[INFO] [stdout] 91 |         pub const FUNCTION_CALL_MISSING_NAME: &str = "函数调用缺少函数名，你要调用哪个函数啊，笨蛋！";
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INVALID_FUNCTION_CALL` is never used
[INFO] [stdout]   --> src/interpreter/error.rs:92:19
[INFO] [stdout]    |
[INFO] [stdout] 92 |         pub const INVALID_FUNCTION_CALL: &str = "无效的函数调用，哼～函数调用失败啦！";
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `IF_MISSING_FIELDS` is never used
[INFO] [stdout]   --> src/interpreter/error.rs:99:23
[INFO] [stdout]    |
[INFO] [stdout] 99 |             pub const IF_MISSING_FIELDS: &str = "'if' 语句缺少必要的字段，喂！条件判断写错了啦！";
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CASE_NOT_OBJ` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:116:23
[INFO] [stdout]     |
[INFO] [stdout] 116 |             pub const CASE_NOT_OBJ: &str = "case 必须是一个对象，喵～case应该是对象才对～";
[INFO] [stdout]     |                       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CASE_MISSING_FIELDS` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:117:23
[INFO] [stdout]     |
[INFO] [stdout] 117 |             pub const CASE_MISSING_FIELDS: &str = "case 缺少 'value' 或 'body' 字段，呜～case缺少必要的字段～";
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CASE_BODY_NOT_ARRAY` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:118:23
[INFO] [stdout]     |
[INFO] [stdout] 118 |             pub const CASE_BODY_NOT_ARRAY: &str = "case 'body' 必须是一个数组，哇哦～case的body应该是数组呀～";
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_BODY_NOT_ARRAY` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:119:23
[INFO] [stdout]     |
[INFO] [stdout] 119 |             pub const DEFAULT_BODY_NOT_ARRAY: &str = "default case 'body' 必须是一个数组，咿呀～default的body要是数组～";
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TRY_BODY_NOT_ARRAY` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:126:23
[INFO] [stdout]     |
[INFO] [stdout] 126 |             pub const TRY_BODY_NOT_ARRAY: &str = "'try' 字段必须是一个数组，呜～try的body应该是数组啦～";
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CATCH_BODY_NOT_ARRAY` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:127:23
[INFO] [stdout]     |
[INFO] [stdout] 127 |             pub const CATCH_BODY_NOT_ARRAY: &str = "'catch' 字段必须是一个数组，咿呀～catch的body应该是数组才对～";
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FINALLY_BODY_NOT_ARRAY` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:128:23
[INFO] [stdout]     |
[INFO] [stdout] 128 |             pub const FINALLY_BODY_NOT_ARRAY: &str = "'finally' 字段必须是一个数组，哎呀～finally的body也需要是数组～";
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ERROR_VAR_NOT_STRING` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:129:23
[INFO] [stdout]     |
[INFO] [stdout] 129 |             pub const ERROR_VAR_NOT_STRING: &str = "'error_var' 必须是一个字符串，喵喵～变量名必须是字符串啦～";
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `var_not_exist` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:154:20
[INFO] [stdout]     |
[INFO] [stdout] 154 |             pub fn var_not_exist(name: &str) -> String {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SET_FIRST_ARG_NOT_ARRAY_REF` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:159:23
[INFO] [stdout]     |
[INFO] [stdout] 159 | ...   pub const SET_FIRST_ARG_NOT_ARRAY_REF: &str = "'array.set' 的第一个参数必须是一个数组变量引用，咦咦～这不是数组引用～";
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SET_FIRST_ARG_NOT_STRING_REF` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:160:23
[INFO] [stdout]     |
[INFO] [stdout] 160 | ...   pub const SET_FIRST_ARG_NOT_STRING_REF: &str = "'array.set' 的第一个参数必须是一个字符串变量引用，嘤～参数类型错误～";
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SET_SECOND_ARG_NOT_INDEX` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:161:23
[INFO] [stdout]     |
[INFO] [stdout] 161 | ...   pub const SET_SECOND_ARG_NOT_INDEX: &str = "'array.set' 的第二个参数必须是一个数字索引，呀咧～索引要是数字啦～";
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_first_arg_not_array_ref` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:174:20
[INFO] [stdout]     |
[INFO] [stdout] 174 |             pub fn get_first_arg_not_array_ref(name: &str) -> String {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `first_arg_not_array` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:178:20
[INFO] [stdout]     |
[INFO] [stdout] 178 |             pub fn first_arg_not_array(name: &str) -> String {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_second_arg_must_be_number` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:182:20
[INFO] [stdout]     |
[INFO] [stdout] 182 |             pub fn get_second_arg_must_be_number(name: &str) -> String {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_third_arg_must_be_number` is never used
[INFO] [stdout]    --> src/interpreter/error.rs:198:20
[INFO] [stdout]     |
[INFO] [stdout] 198 |             pub fn get_third_arg_must_be_number() -> String {
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `resolve_variable_reference` is never used
[INFO] [stdout]    --> src/interpreter/statements/mod.rs:315:8
[INFO] [stdout]     |
[INFO] [stdout] 315 | pub fn resolve_variable_reference(text: &str, context: &Context) -> Option<Value> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `execute_function` is never used
[INFO] [stdout]   --> src/interpreter/statements/function.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn execute_function(func: &Value, context: &mut Context, params: Option<&Value>) -> Result<Value> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `resolve_variable_value` is never used
[INFO] [stdout]    --> src/interpreter/variable_reference.rs:418:8
[INFO] [stdout]     |
[INFO] [stdout] 418 | pub fn resolve_variable_value(value: &Value, 
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_built_in_modules` is never used
[INFO] [stdout]    --> src/modules/mod.rs:116:8
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub fn init_built_in_modules() -> Vec<Box<dyn Module>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/modules/external_module.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct FunctionMetadata {
[INFO] [stdout]    |            ---------------- field in this struct
[INFO] [stdout] 25 |     /// 函数名称
[INFO] [stdout] 26 |     pub name: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `FunctionMetadata` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `default_value` is never read
[INFO] [stdout]   --> src/modules/external_module.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct ParameterMetadata {
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub default_value: Option<Value>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ParameterMetadata` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ExternalModuleType` is never used
[INFO] [stdout]   --> src/modules/external_module.rs:54:10
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub enum ExternalModuleType {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `allow_filesystem`, `allow_network`, `memory_limit_mb`, `execution_timeout_ms`, and `env_vars` are never read
[INFO] [stdout]   --> src/modules/external_module.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub struct ExternalModuleOptions {
[INFO] [stdout]    |            --------------------- fields in this struct
[INFO] [stdout] 66 |     /// 是否允许文件系统访问
[INFO] [stdout] 67 |     pub allow_filesystem: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 68 |     /// 是否允许网络访问
[INFO] [stdout] 69 |     pub allow_network: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 70 |     /// 内存使用限制 (MB)
[INFO] [stdout] 71 |     pub memory_limit_mb: Option<usize>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 72 |     /// 执行超时 (ms)
[INFO] [stdout] 73 |     pub execution_timeout_ms: Option<u64>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 74 |     /// 自定义环境变量
[INFO] [stdout] 75 |     pub env_vars: HashMap<String, String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ExternalModuleOptions` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/modules/external_module.rs:96:8
[INFO] [stdout]     |
[INFO] [stdout]  94 | pub trait ExternalModule: Module {
[INFO] [stdout]     |           -------------- methods in this trait
[INFO] [stdout]  95 |     /// 获取模块类型
[INFO] [stdout]  96 |     fn get_module_type(&self) -> ExternalModuleType;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     fn get_options(&self) -> &ExternalModuleOptions;
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     fn set_options(&mut self, options: ExternalModuleOptions) -> Result<()>;
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 108 |     fn reload(&mut self) -> Result<()>;
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 118 |     fn get_function_metadata(&self, name: &str) -> Option<&FunctionMetadata>;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |     fn get_all_function_metadata(&self) -> Vec<&FunctionMetadata>;
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 |     fn initialize(&mut self) -> Result<()>;
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     fn destroy(&mut self) -> Result<()>;
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `resolve_path` is never used
[INFO] [stdout]    --> src/modules/external_module.rs:230:8
[INFO] [stdout]     |
[INFO] [stdout] 160 | impl ModuleRegistry {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 230 |     fn resolve_path(&self, path: &str) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `options` is never read
[INFO] [stdout]    --> src/modules/external_module.rs:596:5
[INFO] [stdout]     |
[INFO] [stdout] 592 | pub struct JLangExternalModule {
[INFO] [stdout]     |            ------------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 596 |     options: ExternalModuleOptions,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `path` and `options` are never read
[INFO] [stdout]    --> src/modules/lua_module.rs:198:5
[INFO] [stdout]     |
[INFO] [stdout] 196 | pub struct LuaModule {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] 197 |     name: String,
[INFO] [stdout] 198 |     path: String,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 202 |     options: ExternalModuleOptions,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/modules/mod.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |         MODULE_REGISTRY.as_ref().unwrap()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/modules/mod.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |         MODULE_REGISTRY.as_mut().unwrap()
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.69s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: mlua v0.8.10
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "5de966dac3c1297fbc1e649f160addd4a0eb0d3d77848386a20ad27a984d89f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5de966dac3c1297fbc1e649f160addd4a0eb0d3d77848386a20ad27a984d89f7", kill_on_drop: false }`
[INFO] [stdout] 5de966dac3c1297fbc1e649f160addd4a0eb0d3d77848386a20ad27a984d89f7
