← Back to dashboard

DixScript WASM — Test Results

wasm-bindgen-test · headless Chrome · wasm32-unknown-unknown

30
Total
30
Passed
0
Failed
0.24s
Duration
Build #51 Branch master Commit 49d8a515 Date 
Individual tests
prefetch_import_then_cloud_import_resolvesPASS
prefetch_import_does_not_panicPASS
merge_with_primary_wins_by_default_weightingPASS
merge_with_merges_two_loaded_databasesPASS
merge_sources_weighted_respects_explicit_weightsPASS
merge_sources_weighted_rejects_empty_listPASS
merge_sources_throw_on_conflict_succeeds_for_disjoint_dataPASS
merge_sources_throw_on_conflict_raises_for_real_conflictPASS
merge_sources_secondary_wins_on_conflictPASS
merge_sources_rejects_empty_listPASS
merge_sources_primary_wins_on_conflictPASS
merge_sources_group_array_same_id_twice_is_not_key_mergedPASS
merge_sources_group_array_combine_fails_under_throw_on_conflictPASS
merge_sources_conflicts_report_has_the_expected_shapePASS
merge_sources_combines_non_conflicting_group_array_itemsPASS
merge_sources_combines_disjoint_dataPASS
load_str_rejects_empty_sourcePASS
load_str_parses_valid_sourcePASS
get_string_returns_the_right_valuePASS
get_string_on_missing_path_errors_cleanlyPASS
get_int_returns_the_right_valuePASS
get_bool_returns_the_right_valuePASS
from_toml_round_trips_a_simple_tablePASS
from_json_round_trips_a_simple_objectPASS
entry_count_is_nonzero_for_valid_dataPASS
decompile_with_dlm_rejects_empty_dataPASS
compile_with_dlm_round_trips_with_compression_and_encryptionPASS
compile_with_dlm_rejects_empty_sourcePASS
compile_with_dlm_passthrough_when_no_dlm_sectionPASS
cloud_import_without_prefetch_errors_cleanlyPASS

Parsed from wasm-bindgen-test-runner's console output — there's no structured JSON report for wasm tests the way pytest has one, so this is a plain-text parse of the same pass/fail lines you'd see running wasm-pack test locally. Raw output below for anything the parse missed.

Raw output
[INFO]: 🎯 Checking for the Wasm target... warning: profiles for the non root package will be ignored, specify profiles at the workspace root: package: /home/runner/work/DixScript-Rust/DixScript-Rust/mdix-ffi/Cargo.toml workspace: /home/runner/work/DixScript-Rust/DixScript-Rust/Cargo.toml warning: profiles for the non root package will be ignored, specify profiles at the workspace root: package: /home/runner/work/DixScript-Rust/DixScript-Rust/mdix-java/Cargo.toml workspace: /home/runner/work/DixScript-Rust/DixScript-Rust/Cargo.toml  Compiling dixscript v1.0.0 (/home/runner/work/DixScript-Rust/DixScript-Rust/dixscript) warning: type `MID_Logger` should have an upper camel case name --> dixscript/src/Utilities/mid_logger.rs:17:12 | 17 | pub struct MID_Logger { | ^^^^^^^^^^ help: convert the identifier to upper camel case: `MidLogger` | = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default warning: unexpected `cfg` condition value: `debug_logging` --> dixscript/src/Utilities/mid_logger.rs:293:15 | 293 | #[cfg(feature = "debug_logging")] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `bzip2-support`, `cloud-import`, `default`, `rayon-support`, and `xz-support` = help: consider adding `debug_logging` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `debug_logging` --> dixscript/src/Utilities/mid_logger.rs:297:19 | 297 | #[cfg(not(feature = "debug_logging"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `bzip2-support`, `cloud-import`, `default`, `rayon-support`, and `xz-support` = help: consider adding `debug_logging` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: unexpected `cfg` condition value: `verbose_logging` --> dixscript/src/Utilities/mid_logger.rs:305:15 | 305 | #[cfg(feature = "verbose_logging")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `bzip2-support`, `cloud-import`, `default`, `rayon-support`, and `xz-support` = help: consider adding `verbose_logging` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: unexpected `cfg` condition value: `verbose_logging` --> dixscript/src/Utilities/mid_logger.rs:309:19 | 309 | #[cfg(not(feature = "verbose_logging"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `bzip2-support`, `cloud-import`, `default`, `rayon-support`, and `xz-support` = help: consider adding `verbose_logging` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: unused import: `std::fmt::Write` --> dixscript/src/Utilities/mid_helper_functions.rs:2:5 | 2 | use std::fmt::Write; | ^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: type `MID_HelperFunctions` should have an upper camel case name --> dixscript/src/Utilities/mid_helper_functions.rs:6:12 | 6 | pub struct MID_HelperFunctions; | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MidHelperFunctions` warning: unused import: `crate::ErrorManager::Helpers::*` --> dixscript/src/ErrorManager/error_manager.rs:13:5 | 13 | use crate::ErrorManager::Helpers::*; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `std::path::Path` --> dixscript/src/ErrorManager/diagnostic_dumper.rs:2:5 | 2 | use std::path::Path; | ^^^^^^^^^^^^^^^ warning: unused import: `validation_helpers` --> dixscript/src/Builtins/Instance/number_methods.rs:5:55 | 5 | DixType, DixValue, IBuiltinMethod, BuiltinMethod, validation_helpers, | ^^^^^^^^^^^^^^^^^^ warning: unused import: `BuiltinMethodException` --> dixscript/src/Builtins/Instance/string_methods.rs:7:5 | 7 | BuiltinMethodException, validation_helpers, | ^^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `validation_helpers` --> dixscript/src/Builtins/Instance/regex_methods.rs:6:55 | 6 | DixType, DixValue, IBuiltinMethod, BuiltinMethod, validation_helpers, | ^^^^^^^^^^^^^^^^^^ warning: unused import: `validation_helpers` --> dixscript/src/Builtins/Instance/object_methods.rs:5:55 | 5 | DixType, DixValue, BuiltinMethod, IBuiltinMethod, validation_helpers, | ^^^^^^^^^^^^^^^^^^ warning: unused import: `super::position::Position` --> dixscript/src/Compiler/AST/root.rs:1:5 | 1 | use super::position::Position; | ^^^^^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `crate::Compiler::Core::Config::operational_settings::ErrorHandlingStrategy` --> dixscript/src/Compiler/Core/Tokenizer/lexer.rs:36:5 | 36 | use crate::Compiler::Core::Config::operational_settings::ErrorHandlingStrategy; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `crate::ErrorManager::ErrorTypes::BinarySerializationErrorType` --> dixscript/src/Compiler/Core/BinarySerialization/binary_packer.rs:6:5 | 6 | use crate::ErrorManager::ErrorTypes::BinarySerializationErrorType; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `crate::ErrorManager::ErrorTypes::BinarySerializationErrorType` --> dixscript/src/Compiler/Core/BinarySerialization/binary_unpacker.rs:6:5 | 6 | use crate::ErrorManager::ErrorTypes::BinarySerializationErrorType; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `DataType` --> dixscript/src/Compiler/Core/BinarySerialization/value_encoder.rs:4:35 | 4 | use crate::Compiler::AST::{Value, DataType}; | ^^^^^^^^ warning: unused import: `MAX_STRING_LENGTH` --> dixscript/src/Compiler/Core/BinarySerialization/value_encoder.rs:6:56 | 6 | use super::binary_format::{ValueTypeTag, BlobEncoding, MAX_STRING_LENGTH}; | ^^^^^^^^^^^^^^^^^ warning: unused import: `GeneralErrorType` --> dixscript/src/Compiler/Utilities/security_utilities.rs:11:41 | 11 | use crate::ErrorManager::{ErrorManager, GeneralErrorType}; | ^^^^^^^^^^^^^^^^ warning: unused import: `PathBuf` --> dixscript/src/Runtime/loader.rs:2:23 | 2 | use std::path::{Path, PathBuf}; | ^^^^^^^ warning: unused import: `ErrorSeverity` --> dixscript/src/Runtime/loader.rs:14:59 | 14 | use crate::ErrorManager::{ErrorManager, RuntimeErrorType, ErrorSeverity}; | ^^^^^^^^^^^^^ warning: use of deprecated function `base64::decode`: Use Engine::decode --> dixscript/src/Builtins/Core/dix_value.rs:90:17 | 90 | base64::decode(&base64_data).map_err(|e| format!("Invalid base64 blob data: {}", e))?; | ^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated function `base64::decode`: Use Engine::decode --> dixscript/src/Builtins/Core/dix_value.rs:367:43 | 367 | ValueData::Blob(b) => base64::decode(b).map_err(|e| format!("Failed to decode blob: {}", e)), | ^^^^^^ warning: use of deprecated function `base64::decode`: Use Engine::decode --> dixscript/src/Builtins/Core/dix_value.rs:380:37 | 380 | let bytes = base64::decode(b) | ^^^^^^ warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead --> dixscript/src/Compiler/Core/BinarySerialization/value_encoder.rs:301:56 | 301 | let ticks = date.and_hms_opt(0, 0, 0).unwrap().timestamp() * 10_000_000; | ^^^^^^^^^ warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead --> dixscript/src/Compiler/Core/BinarySerialization/value_decoder.rs:273:36 | 273 | let naive = NaiveDateTime::from_timestamp_opt(seconds, 0) | ^^^^^^^^^^^^^^^^^^ warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead --> dixscript/src/Compiler/Core/BinarySerialization/value_decoder.rs:292:36 | 292 | let naive = NaiveDateTime::from_timestamp_opt(seconds, 0) | ^^^^^^^^^^^^^^^^^^ warning: unused variable: `src` --> dixscript/src/ErrorManager/ErrorTypes/lexical_error.rs:41:43 | 41 | let error_indicator = if let Some(ref src) = source_line { | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `src` --> dixscript/src/ErrorManager/ErrorTypes/parse_error.rs:54:43 | 54 | let error_indicator = if let Some(ref src) = source_line { | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src` warning: variable does not need to be mutable --> dixscript/src/Builtins/Instance/array_methods.rs:275:9 | 275 | let mut end = args[2].as_int().min(len); | ----^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> dixscript/src/Builtins/Static/array_object.rs:189:21 | 189 | let mut reversed: Vec<DixValue> = array.iter().rev().cloned().collect(); | ----^^^^^^^^ | | | help: remove this `mut` warning: unreachable pattern --> dixscript/src/Compiler/Core/ValueResolution/ast_walker.rs:637:9 | 624 | Expression::BitwiseOp { .. } => "BitwiseOp", | ---------------------------- matches all the relevant values ... 637 | Expression::BitwiseOp { .. } => "BitwiseOp", | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this | = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default warning: variable `any_changed` is assigned to, but never used --> dixscript/src/Compiler/Core/ValueResolution/value_resolver.rs:666:13 | 666 | let mut any_changed = false; | ^^^^^^^^^^^^^^^ | = note: consider using `_any_changed` instead warning: value assigned to `any_changed` is never read --> dixscript/src/Compiler/Core/ValueResolution/value_resolver.rs:680:17 | 680 | any_changed = true; | ^^^^^^^^^^^^^^^^^^ | = help: maybe it is overwritten before being read? = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `position` --> dixscript/src/Compiler/Core/ValueResolution/function_interpreter.rs:2279:5 | 2279 | position: Position, | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` warning: unused variable: `id` --> dixscript/src/Compiler/Core/BinarySerialization/binary_unpacker.rs:331:14 | 331 | for (id, result) in results { | ^^ help: if this is intentional, prefix it with an underscore: `_id` warning: value assigned to `depth` is never read --> dixscript/src/Compiler/Core/general_parser.rs:279:26 | 279 | let mut depth = 0i32; | ^^^^ this value is reassigned later and never used ... 293 | depth = 1; | --------- `depth` is overwritten here before the previous value is read warning: unused variable: `caps` --> dixscript/src/Compiler/DLM/Auditor/enhanced_auditor.rs:105:21 | 105 | if let Some(caps) = RE_CHECKSUM.captures(&content) { | ^^^^ help: if this is intentional, prefix it with an underscore: `_caps` warning: unused variable: `data_type` --> dixscript/src/Compiler/Extensions/type_system_manager.rs:293:27 | 293 | fn is_valid_data_type(data_type: DataType) -> bool { | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_type` warning: unused variable: `path` --> dixscript/src/Compiler/Utilities/file_permissions.rs:14:21 | 14 | pub fn set_readonly(path: &Path) -> Result<(), String> { | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` warning: unused variable: `path` --> dixscript/src/Compiler/Utilities/file_permissions.rs:34:21 | 34 | pub fn set_writable(path: &Path) -> Result<(), String> { | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` warning: unused variable: `path` --> dixscript/src/Compiler/Utilities/file_permissions.rs:51:20 | 51 | pub fn is_readonly(path: &Path) -> bool { | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` warning: unused variable: `options` --> dixscript/src/Runtime/loader.rs:89:9 | 89 | options: &DixLoadOptions, | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` warning: unused variable: `winner` --> dixscript/src/Runtime/merge.rs:559:9 | 559 | winner: usize, | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_winner` warning: unused variable: `winner` --> dixscript/src/Runtime/merge.rs:883:9 | 883 | winner: usize, | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_winner` warning: unused variable: `secondary_src` --> dixscript/src/Runtime/merge.rs:942:9 | 942 | secondary_src: usize, | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secondary_src` warning: unused variable: `winner` --> dixscript/src/Runtime/merge.rs:1055:9 | 1055 | winner: usize, | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_winner` warning: type `ValueData` is more private than the item `Builtins::Core::dix_value::DixValue::new` --> dixscript/src/Builtins/Core/dix_value.rs:35:5 | 35 | pub fn new(value: ValueData, dix_type: DixType) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `Builtins::Core::dix_value::DixValue::new` is reachable at visibility `pub` | note: but type `ValueData` is only usable at visibility `pub(crate)` --> dixscript/src/Builtins/Core/dix_value.rs:14:1 | 14 | pub(crate) enum ValueData { | ^^^^^^^^^^^^^^^^^^^^^^^^^ = note: `#[warn(private_interfaces)]` on by default warning: associated items `MAX_DEPTH`, `MAX_COLLECTION_ITEMS`, `get_indentation`, and `get_arrow_indentation` are never used --> dixscript/src/Utilities/mid_helper_functions.rs:13:11 |  8 | impl MID_HelperFunctions { | ------------------------ associated items in this implementation ... 13 | const MAX_DEPTH: usize = 10; | ^^^^^^^^^ 14 | const MAX_COLLECTION_ITEMS: usize = 100; | ^^^^^^^^^^^^^^^^^^^^ ... 82 | fn get_indentation(depth: usize) -> String { | ^^^^^^^^^^^^^^^ ... 87 | fn get_arrow_indentation(depth: usize) -> &'static str { | ^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: constant `TUPLE_POSITIONAL_METHODS` is never used --> dixscript/src/Compiler/AST/Visitors/type_inference_visitor.rs:37:7 | 37 | const TUPLE_POSITIONAL_METHODS: &[(&str, usize)] = &[ | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `TUPLE_ELEMENT_METHODS` is never used --> dixscript/src/Compiler/AST/Visitors/type_inference_visitor.rs:51:7 | 51 | const TUPLE_ELEMENT_METHODS: &[&str] = &[ | ^^^^^^^^^^^^^^^^^^^^^ warning: field `settings` is never read --> dixscript/src/Compiler/Core/Tokenizer/lexer.rs:125:5 | 123 | pub struct Tokenizer<'src> { | --------- field in this struct 124 | input: &'src str, 125 | settings: &'src OperationalSettings, | ^^^^^^^^ warning: method `is_hex_digit` is never used --> dixscript/src/Compiler/Core/Tokenizer/lexer.rs:332:8 | 137 | impl<'src> Tokenizer<'src> { | -------------------------- method in this implementation ... 332 | fn is_hex_digit(&self, c: char) -> bool { | ^^^^^^^^^^^^ warning: function `is_whitespace_byte` is never used --> dixscript/src/Compiler/Core/Tokenizer/platform/scalar.rs:25:8 | 25 | pub fn is_whitespace_byte(b: u8) -> bool { | ^^^^^^^^^^^^^^^^^^ warning: constant `MAX_STUCK_COUNT` is never used --> dixscript/src/Compiler/Core/SectionParsers/quickfuncs_section_parser.rs:32:7 | 32 | const MAX_STUCK_COUNT: usize = 3; | ^^^^^^^^^^^^^^^ warning: fields `last_position` and `stuck_count` are never read --> dixscript/src/Compiler/Core/SectionParsers/quickfuncs_section_parser.rs:81:5 | 75 | pub struct QuickFuncsSectionParser<'a> { | ----------------------- fields in this struct ... 81 | last_position: usize, | ^^^^^^^^^^^^^ 82 | stuck_count: usize, | ^^^^^^^^^^^ warning: method `parse_interpolated_expression` is never used --> dixscript/src/Compiler/Core/SectionParsers/quickfuncs_section_parser.rs:2250:8 |  92 | impl<'a> QuickFuncsSectionParser<'a> { | ------------------------------------ method in this implementation ... 2250 | fn parse_interpolated_expression(&self, text: &str, position: Position) -> Expression { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: methods `get_long_field` and `get_bool_field` are never used --> dixscript/src/Compiler/Core/SectionAnalyzers/security_section_analyzer.rs:164:18 | 131 | impl<'a> ParsedEncryptionConfig<'a> { | ----------------------------------- methods in this implementation ... 164 | #[inline] fn get_long_field(&self, key: &str) -> Option<i64> { | ^^^^^^^^^^^^^^ ... 170 | #[inline] fn get_bool_field(&self, key: &str) -> Option<bool> { | ^^^^^^^^^^^^^^ warning: field `operational_settings` is never read --> dixscript/src/Compiler/Core/SectionAnalyzers/data_section_analyzer.rs:52:5 | 51 | pub struct DataSectionAnalyzer<'a> { | ------------------- field in this struct 52 | operational_settings: &'a OperationalSettings, | ^^^^^^^^^^^^^^^^^^^^ warning: method `get_element_type` is never used --> dixscript/src/Compiler/Core/SectionAnalyzers/quickfuncs_section_analyzer.rs:3089:8 | 2998 | impl LocalScopeTracker { | ---------------------- method in this implementation ... 3089 | fn get_element_type(&self, name: &str) -> Option<DataType> { | ^^^^^^^^^^^^^^^^ warning: fields `operational_settings` and `current_file_path` are never read --> dixscript/src/Compiler/Core/SectionAnalyzers/imports_section_analyzer.rs:15:5 | 13 | pub struct ImportsSectionAnalyzer<'a> { | ---------------------- fields in this struct 14 | symbol_table: &'a SymbolTable, 15 | operational_settings: &'a OperationalSettings, | ^^^^^^^^^^^^^^^^^^^^ 16 | current_file_path: String, | ^^^^^^^^^^^^^^^^^ warning: field `operational_settings` is never read --> dixscript/src/Compiler/Core/SectionEnhancers/quickfuncs_ast_enhancer.rs:17:5 | 16 | pub struct QuickFunctionsAstEnhancer<'a> { | ------------------------- field in this struct 17 | operational_settings: &'a OperationalSettings, | ^^^^^^^^^^^^^^^^^^^^ warning: associated items `resolve_call_arguments`, `resolve_expr_to_dix`, and `resolve_value_to_dix` are never used --> dixscript/src/Compiler/Core/ValueResolution/value_resolver.rs:1758:8 |  135 | impl<'a> ValueResolver<'a> { | -------------------------- associated items in this implementation ... 1758 | fn resolve_call_arguments( | ^^^^^^^^^^^^^^^^^^^^^^ ... 1775 | fn resolve_expr_to_dix( | ^^^^^^^^^^^^^^^^^^^ ... 1859 | fn resolve_value_to_dix( | ^^^^^^^^^^^^^^^^^^^^ warning: field `error_manager` is never read --> dixscript/src/Compiler/Core/BinarySerialization/value_decoder.rs:13:5 | 12 | pub struct ValueDecoder { | ------------ field in this struct 13 | error_manager: ErrorManager, | ^^^^^^^^^^^^^ warning: field `position` is never read --> dixscript/src/Compiler/Core/general_parser.rs:30:5 | 27 | struct SectionData { | ----------- field in this struct ... 30 | position: usize, | ^^^^^^^^ warning: struct `ParseTimings` is never constructed --> dixscript/src/Compiler/Core/general_parser.rs:34:12 | 34 | pub struct ParseTimings { | ^^^^^^^^^^^^ warning: field `is_advanced_mode` is never read --> dixscript/src/Compiler/Core/general_parser.rs:62:5 | 50 | pub struct GeneralParser<'a> { | ------------- field in this struct ... 62 | is_advanced_mode: bool, | ^^^^^^^^^^^^^^^^ warning: field `has_dlm_enabled` is never read --> dixscript/src/Compiler/Core/general_semantics_analyzer.rs:33:5 | 21 | pub struct GeneralSemanticAnalyzer<'a> { | ----------------------- field in this struct ... 33 | has_dlm_enabled: bool, | ^^^^^^^^^^^^^^^ warning: field `error_manager` is never read --> dixscript/src/Runtime/key_resolver.rs:27:5 | 26 | pub struct KeyFileResolver { | --------------- field in this struct 27 | error_manager: ErrorManager, | ^^^^^^^^^^^^^ warning: module `Utilities` should have a snake case name --> dixscript/src/lib.rs:7:9 | 7 | pub mod Utilities; | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `utilities` | = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default warning: module `ErrorManager` should have a snake case name --> dixscript/src/lib.rs:8:9 | 8 | pub mod ErrorManager; | ^^^^^^^^^^^^ help: convert the identifier to snake case: `error_manager` warning: module `Builtins` should have a snake case name --> dixscript/src/lib.rs:9:9 | 9 | pub mod Builtins; | ^^^^^^^^ help: convert the identifier to snake case: `builtins` warning: module `Compiler` should have a snake case name --> dixscript/src/lib.rs:10:9 | 10 | pub mod Compiler; | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `compiler` warning: module `Runtime` should have a snake case name --> dixscript/src/lib.rs:11:9 | 11 | pub mod Runtime; | ^^^^^^^ help: convert the identifier to snake case: `runtime` warning: method `GetSharedInstance` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:40:12 | 40 | pub fn GetSharedInstance(level: Option<LogLevel>, enabled: Option<bool>) -> Arc<Mutex<Self>> { | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_shared_instance` warning: method `HasSharedInstance` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:63:12 | 63 | pub fn HasSharedInstance() -> bool { | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `has_shared_instance` warning: method `IncreaseIndent` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:71:12 | 71 | pub fn IncreaseIndent(&mut self) { | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `increase_indent` warning: method `DecreaseIndent` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:75:12 | 75 | pub fn DecreaseIndent(&mut self) { | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decrease_indent` warning: method `ResetIndent` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:81:12 | 81 | pub fn ResetIndent(&mut self) { | ^^^^^^^^^^^ help: convert the identifier to snake case: `reset_indent` warning: method `Error` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:87:12 | 87 | pub fn Error(&mut self, message: &str) { | ^^^^^ help: convert the identifier to snake case: `error` warning: method `Warning` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:94:12 | 94 | pub fn Warning(&mut self, message: &str) { | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `warning` warning: method `Info` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:101:12 | 101 | pub fn Info(&mut self, message: &str) { | ^^^^ help: convert the identifier to snake case (notice the capitalization): `info` warning: method `Debug` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:113:12 | 113 | pub fn Debug<F>(&mut self, message_builder: F) | ^^^^^ help: convert the identifier to snake case: `debug` warning: method `DebugStr` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:129:12 | 129 | pub fn DebugStr(&mut self, message: &str) { | ^^^^^^^^ help: convert the identifier to snake case: `debug_str` warning: method `Verbose` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:141:12 | 141 | pub fn Verbose<F>(&mut self, message_builder: F) | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `verbose` warning: method `VerboseStr` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:157:12 | 157 | pub fn VerboseStr(&mut self, message: &str) { | ^^^^^^^^^^ help: convert the identifier to snake case: `verbose_str` warning: method `CreateScope` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:197:12 | 197 | pub fn CreateScope<'a>(&'a mut self, scope_name: &str) -> LoggerScope<'a> { | ^^^^^^^^^^^ help: convert the identifier to snake case: `create_scope` warning: method `CreateDebugScope` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:217:12 | 217 | pub fn CreateDebugScope<'a>(&'a mut self, scope_name: &str) -> LoggerScope<'a> { | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_debug_scope` warning: method `CreateVerboseScope` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:237:12 | 237 | pub fn CreateVerboseScope<'a>(&'a mut self, scope_name: &str) -> LoggerScope<'a> { | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_verbose_scope` warning: method `SetLogLevel` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:275:12 | 275 | pub fn SetLogLevel(&mut self, level: LogLevel) { | ^^^^^^^^^^^ help: convert the identifier to snake case: `set_log_level` warning: method `SetEnabled` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:279:12 | 279 | pub fn SetEnabled(&mut self, enabled: bool) { | ^^^^^^^^^^ help: convert the identifier to snake case: `set_enabled` warning: method `GetCurrentLevel` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:283:12 | 283 | pub fn GetCurrentLevel(&self) -> LogLevel { | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_current_level` warning: method `IsEnabled` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:287:12 | 287 | pub fn IsEnabled(&self) -> bool { | ^^^^^^^^^ help: convert the identifier to snake case: `is_enabled` warning: method `IsDebugEnabled` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:292:12 | 292 | pub fn IsDebugEnabled(&self) -> bool { | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_debug_enabled` warning: method `IsVerboseEnabled` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:304:12 | 304 | pub fn IsVerboseEnabled(&self) -> bool { | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_verbose_enabled` warning: method `WouldLog` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:315:12 | 315 | pub fn WouldLog(&self, level: LogLevel) -> bool { | ^^^^^^^^ help: convert the identifier to snake case: `would_log` warning: method `GetLogContents` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:321:12 | 321 | pub fn GetLogContents(&self) -> &str { | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_log_contents` warning: method `ClearLogBuffer` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:325:12 | 325 | pub fn ClearLogBuffer(&mut self) { | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `clear_log_buffer` warning: method `IsValidString` should have a snake case name --> dixscript/src/Utilities/mid_helper_functions.rs:19:12 | 19 | pub fn IsValidString(input: Option<&str>) -> bool { | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_valid_string` warning: method `GetEnvironment` should have a snake case name --> dixscript/src/Utilities/mid_helper_functions.rs:36:12 | 36 | pub fn GetEnvironment() -> &'static str { | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_environment` warning: method `GenerateRandomString` should have a snake case name --> dixscript/src/Utilities/mid_helper_functions.rs:48:12 | 48 | pub fn GenerateRandomString(length: usize, use_special_characters: bool) -> String { | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_random_string` warning: method `GetStructOrClassMemberValues` should have a snake case name --> dixscript/src/Utilities/mid_helper_functions.rs:77:12 | 77 | pub fn GetStructOrClassMemberValues<T: std::fmt::Debug>(instance: &T) -> String { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_struct_or_class_member_values` warning: trait method `IsNullOrEmpty` should have a snake case name --> dixscript/src/Utilities/utilities.rs:3:8 | 3 | fn IsNullOrEmpty(&self) -> bool; | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_null_or_empty` warning: trait method `IsNullOrWhiteSpace` should have a snake case name --> dixscript/src/Utilities/utilities.rs:4:8 | 4 | fn IsNullOrWhiteSpace(&self) -> bool; | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_null_or_white_space` warning: trait method `ToUpperInvariant` should have a snake case name --> dixscript/src/Utilities/utilities.rs:5:8 | 5 | fn ToUpperInvariant(&self) -> String; | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `to_upper_invariant` warning: trait method `ToLowerInvariant` should have a snake case name --> dixscript/src/Utilities/utilities.rs:6:8 | 6 | fn ToLowerInvariant(&self) -> String; | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `to_lower_invariant` warning: trait method `Contains` should have a snake case name --> dixscript/src/Utilities/utilities.rs:7:8 | 7 | fn Contains(&self, value: &str) -> bool; | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `contains` warning: trait method `StartsWith` should have a snake case name --> dixscript/src/Utilities/utilities.rs:8:8 | 8 | fn StartsWith(&self, value: &str) -> bool; | ^^^^^^^^^^ help: convert the identifier to snake case: `starts_with` warning: trait method `EndsWith` should have a snake case name --> dixscript/src/Utilities/utilities.rs:9:8 | 9 | fn EndsWith(&self, value: &str) -> bool; | ^^^^^^^^ help: convert the identifier to snake case: `ends_with` warning: trait method `Trim` should have a snake case name --> dixscript/src/Utilities/utilities.rs:10:8 | 10 | fn Trim(&self) -> String; | ^^^^ help: convert the identifier to snake case: `trim` warning: trait method `TrimStart` should have a snake case name --> dixscript/src/Utilities/utilities.rs:11:8 | 11 | fn TrimStart(&self) -> String; | ^^^^^^^^^ help: convert the identifier to snake case: `trim_start` warning: trait method `TrimEnd` should have a snake case name --> dixscript/src/Utilities/utilities.rs:12:8 | 12 | fn TrimEnd(&self) -> String; | ^^^^^^^ help: convert the identifier to snake case: `trim_end` warning: trait method `Replace` should have a snake case name --> dixscript/src/Utilities/utilities.rs:13:8 | 13 | fn Replace(&self, old: &str, new: &str) -> String; | ^^^^^^^ help: convert the identifier to snake case: `replace` warning: trait method `Split` should have a snake case name --> dixscript/src/Utilities/utilities.rs:14:8 | 14 | fn Split(&self, separator: char) -> Vec<String>; | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `split` warning: trait method `Join` should have a snake case name --> dixscript/src/Utilities/utilities.rs:15:8 | 15 | fn Join(separator: &str, values: &[String]) -> String; | ^^^^ help: convert the identifier to snake case: `join` warning: trait method `Substring` should have a snake case name --> dixscript/src/Utilities/utilities.rs:16:8 | 16 | fn Substring(&self, start: usize, length: Option<usize>) -> String; | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `substring` warning: trait method `IndexOf` should have a snake case name --> dixscript/src/Utilities/utilities.rs:17:8 | 17 | fn IndexOf(&self, value: &str) -> Option<usize>; | ^^^^^^^ help: convert the identifier to snake case: `index_of` warning: trait method `LastIndexOf` should have a snake case name --> dixscript/src/Utilities/utilities.rs:18:8 | 18 | fn LastIndexOf(&self, value: &str) -> Option<usize>; | ^^^^^^^^^^^ help: convert the identifier to snake case: `last_index_of` warning: trait method `ToString` should have a snake case name --> dixscript/src/Utilities/utilities.rs:162:8 | 162 | fn ToString(&self) -> String; | ^^^^^^^^ help: convert the identifier to snake case: `to_string` warning: trait method `GetHashCode` should have a snake case name --> dixscript/src/Utilities/utilities.rs:163:8 | 163 | fn GetHashCode(&self) -> u64; | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_hash_code` warning: module `ErrorTypes` should have a snake case name --> dixscript/src/ErrorManager/mod.rs:3:9 | 3 | pub mod ErrorTypes; | ^^^^^^^^^^ help: convert the identifier to snake case: `error_types` warning: module `Helpers` should have a snake case name --> dixscript/src/ErrorManager/mod.rs:4:9 | 4 | pub mod Helpers; | ^^^^^^^ help: convert the identifier to snake case: `helpers` warning: module `Core` should have a snake case name --> dixscript/src/Builtins/mod.rs:4:9 | 4 | pub mod Core; | ^^^^ help: convert the identifier to snake case (notice the capitalization): `core` warning: module `Instance` should have a snake case name --> dixscript/src/Builtins/mod.rs:5:9 | 5 | pub mod Instance; | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `instance` warning: module `Static` should have a snake case name --> dixscript/src/Builtins/mod.rs:6:9 | 6 | pub mod Static; | ^^^^^^ | help: rename the identifier or convert it to a snake case raw identifier | 6 - pub mod Static; 6 + pub mod r#static; | warning: module `Resolver` should have a snake case name --> dixscript/src/Builtins/mod.rs:7:9 | 7 | pub mod Resolver; | ^^^^^^^^ help: convert the identifier to snake case: `resolver` warning: module `AST` should have a snake case name --> dixscript/src/Compiler/mod.rs:4:9 | 4 | pub mod AST; | ^^^ help: convert the identifier to snake case: `ast` warning: module `Core` should have a snake case name --> dixscript/src/Compiler/mod.rs:5:9 | 5 | pub mod Core; | ^^^^ help: convert the identifier to snake case (notice the capitalization): `core` warning: module `DLM` should have a snake case name --> dixscript/src/Compiler/mod.rs:6:9 | 6 | pub mod DLM; | ^^^ help: convert the identifier to snake case: `dlm` warning: module `Extensions` should have a snake case name --> dixscript/src/Compiler/mod.rs:7:9 | 7 | pub mod Extensions; | ^^^^^^^^^^ help: convert the identifier to snake case: `extensions` warning: module `Utilities` should have a snake case name --> dixscript/src/Compiler/mod.rs:8:9 | 8 | pub mod Utilities; | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `utilities` warning: module `VersionControl` should have a snake case name --> dixscript/src/Compiler/mod.rs:9:9 | 9 | pub mod VersionControl; | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `version_control` warning: module `ImportsResolution` should have a snake case name --> dixscript/src/Compiler/mod.rs:10:9 | 10 | pub mod ImportsResolution; | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `imports_resolution` warning: module `Visitors` should have a snake case name --> dixscript/src/Compiler/AST/mod.rs:19:9 | 19 | pub mod Visitors; | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `visitors` warning: module `Tokenizer` should have a snake case name --> dixscript/src/Compiler/Core/mod.rs:9:9 | 9 | pub mod Tokenizer; | ^^^^^^^^^ help: convert the identifier to snake case: `tokenizer` warning: module `SectionParsers` should have a snake case name --> dixscript/src/Compiler/Core/mod.rs:10:9 | 10 | pub mod SectionParsers; | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `section_parsers` warning: module `SectionAnalyzers` should have a snake case name --> dixscript/src/Compiler/Core/mod.rs:11:9 | 11 | pub mod SectionAnalyzers; | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `section_analyzers` warning: module `SectionEnhancers` should have a snake case name --> dixscript/src/Compiler/Core/mod.rs:12:9 | 12 | pub mod SectionEnhancers; | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `section_enhancers` warning: module `ValueResolution` should have a snake case name --> dixscript/src/Compiler/Core/mod.rs:13:9 | 13 | pub mod ValueResolution; | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `value_resolution` warning: module `BinarySerialization` should have a snake case name --> dixscript/src/Compiler/Core/mod.rs:14:9 | 14 | pub mod BinarySerialization; | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `binary_serialization` warning: module `Config` should have a snake case name --> dixscript/src/Compiler/Core/mod.rs:15:9 | 15 | pub mod Config; | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `config` warning: module `Functions` should have a snake case name --> dixscript/src/Compiler/Core/mod.rs:16:9 | 16 | pub mod Functions; | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `functions` warning: module `SectionReaders` should have a snake case name --> dixscript/src/Compiler/Core/BinarySerialization/mod.rs:21:9 | 21 | pub mod SectionReaders; | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `section_readers` warning: module `SectionWriters` should have a snake case name --> dixscript/src/Compiler/Core/BinarySerialization/mod.rs:22:9 | 22 | pub mod SectionWriters; | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `section_writers` warning: module `Auditor` should have a snake case name --> dixscript/src/Compiler/DLM/mod.rs:3:9 | 3 | pub mod Auditor; | ^^^^^^^ help: convert the identifier to snake case: `auditor` warning: module `Compressor` should have a snake case name --> dixscript/src/Compiler/DLM/mod.rs:4:9 | 4 | pub mod Compressor; | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `compressor` warning: module `Encryptor` should have a snake case name --> dixscript/src/Compiler/DLM/mod.rs:5:9 | 5 | pub mod Encryptor; | ^^^^^^^^^ help: convert the identifier to snake case: `encryptor` warning: module `KeyManagement` should have a snake case name --> dixscript/src/Compiler/DLM/mod.rs:6:9 | 6 | pub mod KeyManagement; | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `key_management` warning: `dixscript` (lib) generated 149 warnings (run `cargo fix --lib -p dixscript` to apply 32 suggestions)  Compiling mdix-wasm v1.0.0 (/home/runner/work/DixScript-Rust/DixScript-Rust/mdix-wasm) warning: unused imports: `DixLoadOptions` and `DixLoader` --> mdix-wasm/src/builder.rs:5:26 | 5 | use dixscript::Runtime::{DixLoadOptions, DixLoader}; | ^^^^^^^^^^^^^^ ^^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:202:24 | 202 | pub fn with_string(mut self, path: &str, value: &str) -> Result<MdixBuilder, JsValue> { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:207:21 | 207 | pub fn with_int(mut self, path: &str, value: i32) -> Result<MdixBuilder, JsValue> { | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:221:22 | 221 | pub fn with_long(mut self, path: &str, value: i64) -> Result<MdixBuilder, JsValue> { | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:226:23 | 226 | pub fn with_float(mut self, path: &str, value: f32) -> Result<MdixBuilder, JsValue> { | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:231:24 | 231 | pub fn with_double(mut self, path: &str, value: f64) -> Result<MdixBuilder, JsValue> { | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:236:22 | 236 | pub fn with_bool(mut self, path: &str, value: bool) -> Result<MdixBuilder, JsValue> { | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:242:27 | 242 | pub fn with_hex_color(mut self, path: &str, hex: &str) -> Result<MdixBuilder, JsValue> { | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:251:22 | 251 | pub fn with_date(mut self, path: &str, date: &str) -> Result<MdixBuilder, JsValue> { | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:257:27 | 257 | pub fn with_timestamp(mut self, path: &str, ts: &str) -> Result<MdixBuilder, JsValue> { | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:263:22 | 263 | pub fn with_blob(mut self, path: &str, base64: &str) -> Result<MdixBuilder, JsValue> { | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:269:23 | 269 | pub fn with_regex(mut self, path: &str, pattern: &str) -> Result<MdixBuilder, JsValue> { | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:278:9 | 278 | mut self, | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:289:23 | 289 | pub fn with_array(mut self, path: &str, items_json: &str) -> Result<MdixBuilder, JsValue> { | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:298:24 | 298 | pub fn with_object(mut self, path: &str, props_json: &str) -> Result<MdixBuilder, JsValue> { | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:307:23 | 307 | pub fn with_tuple(mut self, path: &str, items_json: &str) -> Result<MdixBuilder, JsValue> { | ----^^^^ | | | help: remove this `mut` warning: associated function `new` is never used --> mdix-wasm/src/schema.rs:179:19 | 178 | impl MdixValidationReport { | ------------------------- associated function in this implementation 179 | pub(crate) fn new(report: ValidationReport) -> Self { | ^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `isSuccess` should have a snake case name --> mdix-wasm/src/dlm.rs:58:12 | 58 | pub fn isSuccess(&self) -> bool { | ^^^^^^^^^ help: convert the identifier to snake case: `is_success` | = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default warning: method `processedData` should have a snake case name --> mdix-wasm/src/dlm.rs:66:12 | 66 | pub fn processedData(&self) -> Vec<u8> { | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `processed_data` warning: method `keyFileContent` should have a snake case name --> mdix-wasm/src/dlm.rs:74:12 | 74 | pub fn keyFileContent(&self) -> Option<String> { | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `key_file_content` warning: method `executedModules` should have a snake case name --> mdix-wasm/src/dlm.rs:80:12 | 80 | pub fn executedModules(&self) -> Vec<String> { | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `executed_modules` warning: `mdix-wasm` (lib test) generated 21 warnings (1 duplicate) (run `cargo fix --lib -p mdix-wasm --tests` to apply 15 suggestions) warning: `mdix-wasm` (lib) generated 21 warnings (20 duplicates) (run `cargo fix --lib -p mdix-wasm` to apply 1 suggestion)  Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.16s [INFO]: ⬇️ Installing wasm-bindgen... warning: profiles for the non root package will be ignored, specify profiles at the workspace root: package: /home/runner/work/DixScript-Rust/DixScript-Rust/mdix-ffi/Cargo.toml workspace: /home/runner/work/DixScript-Rust/DixScript-Rust/Cargo.toml warning: profiles for the non root package will be ignored, specify profiles at the workspace root: package: /home/runner/work/DixScript-Rust/DixScript-Rust/mdix-java/Cargo.toml workspace: /home/runner/work/DixScript-Rust/DixScript-Rust/Cargo.toml warning: type `MID_Logger` should have an upper camel case name --> dixscript/src/Utilities/mid_logger.rs:17:12 | 17 | pub struct MID_Logger { | ^^^^^^^^^^ help: convert the identifier to upper camel case: `MidLogger` | = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default warning: unexpected `cfg` condition value: `debug_logging` --> dixscript/src/Utilities/mid_logger.rs:293:15 | 293 | #[cfg(feature = "debug_logging")] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `bzip2-support`, `cloud-import`, `default`, `rayon-support`, and `xz-support` = help: consider adding `debug_logging` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `debug_logging` --> dixscript/src/Utilities/mid_logger.rs:297:19 | 297 | #[cfg(not(feature = "debug_logging"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `bzip2-support`, `cloud-import`, `default`, `rayon-support`, and `xz-support` = help: consider adding `debug_logging` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: unexpected `cfg` condition value: `verbose_logging` --> dixscript/src/Utilities/mid_logger.rs:305:15 | 305 | #[cfg(feature = "verbose_logging")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `bzip2-support`, `cloud-import`, `default`, `rayon-support`, and `xz-support` = help: consider adding `verbose_logging` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: unexpected `cfg` condition value: `verbose_logging` --> dixscript/src/Utilities/mid_logger.rs:309:19 | 309 | #[cfg(not(feature = "verbose_logging"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `bzip2-support`, `cloud-import`, `default`, `rayon-support`, and `xz-support` = help: consider adding `verbose_logging` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: unused import: `std::fmt::Write` --> dixscript/src/Utilities/mid_helper_functions.rs:2:5 | 2 | use std::fmt::Write; | ^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: type `MID_HelperFunctions` should have an upper camel case name --> dixscript/src/Utilities/mid_helper_functions.rs:6:12 | 6 | pub struct MID_HelperFunctions; | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MidHelperFunctions` warning: unused import: `crate::ErrorManager::Helpers::*` --> dixscript/src/ErrorManager/error_manager.rs:13:5 | 13 | use crate::ErrorManager::Helpers::*; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `std::path::Path` --> dixscript/src/ErrorManager/diagnostic_dumper.rs:2:5 | 2 | use std::path::Path; | ^^^^^^^^^^^^^^^ warning: unused import: `validation_helpers` --> dixscript/src/Builtins/Instance/number_methods.rs:5:55 | 5 | DixType, DixValue, IBuiltinMethod, BuiltinMethod, validation_helpers, | ^^^^^^^^^^^^^^^^^^ warning: unused import: `BuiltinMethodException` --> dixscript/src/Builtins/Instance/string_methods.rs:7:5 | 7 | BuiltinMethodException, validation_helpers, | ^^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `validation_helpers` --> dixscript/src/Builtins/Instance/regex_methods.rs:6:55 | 6 | DixType, DixValue, IBuiltinMethod, BuiltinMethod, validation_helpers, | ^^^^^^^^^^^^^^^^^^ warning: unused import: `validation_helpers` --> dixscript/src/Builtins/Instance/object_methods.rs:5:55 | 5 | DixType, DixValue, BuiltinMethod, IBuiltinMethod, validation_helpers, | ^^^^^^^^^^^^^^^^^^ warning: unused import: `super::position::Position` --> dixscript/src/Compiler/AST/root.rs:1:5 | 1 | use super::position::Position; | ^^^^^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `crate::Compiler::Core::Config::operational_settings::ErrorHandlingStrategy` --> dixscript/src/Compiler/Core/Tokenizer/lexer.rs:36:5 | 36 | use crate::Compiler::Core::Config::operational_settings::ErrorHandlingStrategy; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `crate::ErrorManager::ErrorTypes::BinarySerializationErrorType` --> dixscript/src/Compiler/Core/BinarySerialization/binary_packer.rs:6:5 | 6 | use crate::ErrorManager::ErrorTypes::BinarySerializationErrorType; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `crate::ErrorManager::ErrorTypes::BinarySerializationErrorType` --> dixscript/src/Compiler/Core/BinarySerialization/binary_unpacker.rs:6:5 | 6 | use crate::ErrorManager::ErrorTypes::BinarySerializationErrorType; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: unused import: `DataType` --> dixscript/src/Compiler/Core/BinarySerialization/value_encoder.rs:4:35 | 4 | use crate::Compiler::AST::{Value, DataType}; | ^^^^^^^^ warning: unused import: `MAX_STRING_LENGTH` --> dixscript/src/Compiler/Core/BinarySerialization/value_encoder.rs:6:56 | 6 | use super::binary_format::{ValueTypeTag, BlobEncoding, MAX_STRING_LENGTH}; | ^^^^^^^^^^^^^^^^^ warning: unused import: `GeneralErrorType` --> dixscript/src/Compiler/Utilities/security_utilities.rs:11:41 | 11 | use crate::ErrorManager::{ErrorManager, GeneralErrorType}; | ^^^^^^^^^^^^^^^^ warning: unused import: `PathBuf` --> dixscript/src/Runtime/loader.rs:2:23 | 2 | use std::path::{Path, PathBuf}; | ^^^^^^^ warning: unused import: `ErrorSeverity` --> dixscript/src/Runtime/loader.rs:14:59 | 14 | use crate::ErrorManager::{ErrorManager, RuntimeErrorType, ErrorSeverity}; | ^^^^^^^^^^^^^ warning: use of deprecated function `base64::decode`: Use Engine::decode --> dixscript/src/Builtins/Core/dix_value.rs:90:17 | 90 | base64::decode(&base64_data).map_err(|e| format!("Invalid base64 blob data: {}", e))?; | ^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated function `base64::decode`: Use Engine::decode --> dixscript/src/Builtins/Core/dix_value.rs:367:43 | 367 | ValueData::Blob(b) => base64::decode(b).map_err(|e| format!("Failed to decode blob: {}", e)), | ^^^^^^ warning: use of deprecated function `base64::decode`: Use Engine::decode --> dixscript/src/Builtins/Core/dix_value.rs:380:37 | 380 | let bytes = base64::decode(b) | ^^^^^^ warning: use of deprecated method `chrono::NaiveDateTime::timestamp`: use `.and_utc().timestamp()` instead --> dixscript/src/Compiler/Core/BinarySerialization/value_encoder.rs:301:56 | 301 | let ticks = date.and_hms_opt(0, 0, 0).unwrap().timestamp() * 10_000_000; | ^^^^^^^^^ warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead --> dixscript/src/Compiler/Core/BinarySerialization/value_decoder.rs:273:36 | 273 | let naive = NaiveDateTime::from_timestamp_opt(seconds, 0) | ^^^^^^^^^^^^^^^^^^ warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead --> dixscript/src/Compiler/Core/BinarySerialization/value_decoder.rs:292:36 | 292 | let naive = NaiveDateTime::from_timestamp_opt(seconds, 0) | ^^^^^^^^^^^^^^^^^^ warning: unused variable: `src` --> dixscript/src/ErrorManager/ErrorTypes/lexical_error.rs:41:43 | 41 | let error_indicator = if let Some(ref src) = source_line { | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src` | = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `src` --> dixscript/src/ErrorManager/ErrorTypes/parse_error.rs:54:43 | 54 | let error_indicator = if let Some(ref src) = source_line { | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src` warning: variable does not need to be mutable --> dixscript/src/Builtins/Instance/array_methods.rs:275:9 | 275 | let mut end = args[2].as_int().min(len); | ----^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> dixscript/src/Builtins/Static/array_object.rs:189:21 | 189 | let mut reversed: Vec<DixValue> = array.iter().rev().cloned().collect(); | ----^^^^^^^^ | | | help: remove this `mut` warning: unreachable pattern --> dixscript/src/Compiler/Core/ValueResolution/ast_walker.rs:637:9 | 624 | Expression::BitwiseOp { .. } => "BitwiseOp", | ---------------------------- matches all the relevant values ... 637 | Expression::BitwiseOp { .. } => "BitwiseOp", | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this | = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default warning: variable `any_changed` is assigned to, but never used --> dixscript/src/Compiler/Core/ValueResolution/value_resolver.rs:666:13 | 666 | let mut any_changed = false; | ^^^^^^^^^^^^^^^ | = note: consider using `_any_changed` instead warning: value assigned to `any_changed` is never read --> dixscript/src/Compiler/Core/ValueResolution/value_resolver.rs:680:17 | 680 | any_changed = true; | ^^^^^^^^^^^^^^^^^^ | = help: maybe it is overwritten before being read? = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: unused variable: `position` --> dixscript/src/Compiler/Core/ValueResolution/function_interpreter.rs:2279:5 | 2279 | position: Position, | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` warning: unused variable: `id` --> dixscript/src/Compiler/Core/BinarySerialization/binary_unpacker.rs:331:14 | 331 | for (id, result) in results { | ^^ help: if this is intentional, prefix it with an underscore: `_id` warning: value assigned to `depth` is never read --> dixscript/src/Compiler/Core/general_parser.rs:279:26 | 279 | let mut depth = 0i32; | ^^^^ this value is reassigned later and never used ... 293 | depth = 1; | --------- `depth` is overwritten here before the previous value is read warning: unused variable: `caps` --> dixscript/src/Compiler/DLM/Auditor/enhanced_auditor.rs:105:21 | 105 | if let Some(caps) = RE_CHECKSUM.captures(&content) { | ^^^^ help: if this is intentional, prefix it with an underscore: `_caps` warning: unused variable: `data_type` --> dixscript/src/Compiler/Extensions/type_system_manager.rs:293:27 | 293 | fn is_valid_data_type(data_type: DataType) -> bool { | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_type` warning: unused variable: `path` --> dixscript/src/Compiler/Utilities/file_permissions.rs:14:21 | 14 | pub fn set_readonly(path: &Path) -> Result<(), String> { | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` warning: unused variable: `path` --> dixscript/src/Compiler/Utilities/file_permissions.rs:34:21 | 34 | pub fn set_writable(path: &Path) -> Result<(), String> { | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` warning: unused variable: `path` --> dixscript/src/Compiler/Utilities/file_permissions.rs:51:20 | 51 | pub fn is_readonly(path: &Path) -> bool { | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` warning: unused variable: `options` --> dixscript/src/Runtime/loader.rs:89:9 | 89 | options: &DixLoadOptions, | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` warning: unused variable: `winner` --> dixscript/src/Runtime/merge.rs:559:9 | 559 | winner: usize, | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_winner` warning: unused variable: `winner` --> dixscript/src/Runtime/merge.rs:883:9 | 883 | winner: usize, | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_winner` warning: unused variable: `secondary_src` --> dixscript/src/Runtime/merge.rs:942:9 | 942 | secondary_src: usize, | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secondary_src` warning: unused variable: `winner` --> dixscript/src/Runtime/merge.rs:1055:9 | 1055 | winner: usize, | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_winner` warning: type `ValueData` is more private than the item `Builtins::Core::dix_value::DixValue::new` --> dixscript/src/Builtins/Core/dix_value.rs:35:5 | 35 | pub fn new(value: ValueData, dix_type: DixType) -> Self { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `Builtins::Core::dix_value::DixValue::new` is reachable at visibility `pub` | note: but type `ValueData` is only usable at visibility `pub(crate)` --> dixscript/src/Builtins/Core/dix_value.rs:14:1 | 14 | pub(crate) enum ValueData { | ^^^^^^^^^^^^^^^^^^^^^^^^^ = note: `#[warn(private_interfaces)]` on by default warning: associated items `MAX_DEPTH`, `MAX_COLLECTION_ITEMS`, `get_indentation`, and `get_arrow_indentation` are never used --> dixscript/src/Utilities/mid_helper_functions.rs:13:11 |  8 | impl MID_HelperFunctions { | ------------------------ associated items in this implementation ... 13 | const MAX_DEPTH: usize = 10; | ^^^^^^^^^ 14 | const MAX_COLLECTION_ITEMS: usize = 100; | ^^^^^^^^^^^^^^^^^^^^ ... 82 | fn get_indentation(depth: usize) -> String { | ^^^^^^^^^^^^^^^ ... 87 | fn get_arrow_indentation(depth: usize) -> &'static str { | ^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: constant `TUPLE_POSITIONAL_METHODS` is never used --> dixscript/src/Compiler/AST/Visitors/type_inference_visitor.rs:37:7 | 37 | const TUPLE_POSITIONAL_METHODS: &[(&str, usize)] = &[ | ^^^^^^^^^^^^^^^^^^^^^^^^ warning: constant `TUPLE_ELEMENT_METHODS` is never used --> dixscript/src/Compiler/AST/Visitors/type_inference_visitor.rs:51:7 | 51 | const TUPLE_ELEMENT_METHODS: &[&str] = &[ | ^^^^^^^^^^^^^^^^^^^^^ warning: field `settings` is never read --> dixscript/src/Compiler/Core/Tokenizer/lexer.rs:125:5 | 123 | pub struct Tokenizer<'src> { | --------- field in this struct 124 | input: &'src str, 125 | settings: &'src OperationalSettings, | ^^^^^^^^ warning: method `is_hex_digit` is never used --> dixscript/src/Compiler/Core/Tokenizer/lexer.rs:332:8 | 137 | impl<'src> Tokenizer<'src> { | -------------------------- method in this implementation ... 332 | fn is_hex_digit(&self, c: char) -> bool { | ^^^^^^^^^^^^ warning: function `is_whitespace_byte` is never used --> dixscript/src/Compiler/Core/Tokenizer/platform/scalar.rs:25:8 | 25 | pub fn is_whitespace_byte(b: u8) -> bool { | ^^^^^^^^^^^^^^^^^^ warning: constant `MAX_STUCK_COUNT` is never used --> dixscript/src/Compiler/Core/SectionParsers/quickfuncs_section_parser.rs:32:7 | 32 | const MAX_STUCK_COUNT: usize = 3; | ^^^^^^^^^^^^^^^ warning: fields `last_position` and `stuck_count` are never read --> dixscript/src/Compiler/Core/SectionParsers/quickfuncs_section_parser.rs:81:5 | 75 | pub struct QuickFuncsSectionParser<'a> { | ----------------------- fields in this struct ... 81 | last_position: usize, | ^^^^^^^^^^^^^ 82 | stuck_count: usize, | ^^^^^^^^^^^ warning: method `parse_interpolated_expression` is never used --> dixscript/src/Compiler/Core/SectionParsers/quickfuncs_section_parser.rs:2250:8 |  92 | impl<'a> QuickFuncsSectionParser<'a> { | ------------------------------------ method in this implementation ... 2250 | fn parse_interpolated_expression(&self, text: &str, position: Position) -> Expression { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ warning: methods `get_long_field` and `get_bool_field` are never used --> dixscript/src/Compiler/Core/SectionAnalyzers/security_section_analyzer.rs:164:18 | 131 | impl<'a> ParsedEncryptionConfig<'a> { | ----------------------------------- methods in this implementation ... 164 | #[inline] fn get_long_field(&self, key: &str) -> Option<i64> { | ^^^^^^^^^^^^^^ ... 170 | #[inline] fn get_bool_field(&self, key: &str) -> Option<bool> { | ^^^^^^^^^^^^^^ warning: field `operational_settings` is never read --> dixscript/src/Compiler/Core/SectionAnalyzers/data_section_analyzer.rs:52:5 | 51 | pub struct DataSectionAnalyzer<'a> { | ------------------- field in this struct 52 | operational_settings: &'a OperationalSettings, | ^^^^^^^^^^^^^^^^^^^^ warning: method `get_element_type` is never used --> dixscript/src/Compiler/Core/SectionAnalyzers/quickfuncs_section_analyzer.rs:3089:8 | 2998 | impl LocalScopeTracker { | ---------------------- method in this implementation ... 3089 | fn get_element_type(&self, name: &str) -> Option<DataType> { | ^^^^^^^^^^^^^^^^ warning: fields `operational_settings` and `current_file_path` are never read --> dixscript/src/Compiler/Core/SectionAnalyzers/imports_section_analyzer.rs:15:5 | 13 | pub struct ImportsSectionAnalyzer<'a> { | ---------------------- fields in this struct 14 | symbol_table: &'a SymbolTable, 15 | operational_settings: &'a OperationalSettings, | ^^^^^^^^^^^^^^^^^^^^ 16 | current_file_path: String, | ^^^^^^^^^^^^^^^^^ warning: field `operational_settings` is never read --> dixscript/src/Compiler/Core/SectionEnhancers/quickfuncs_ast_enhancer.rs:17:5 | 16 | pub struct QuickFunctionsAstEnhancer<'a> { | ------------------------- field in this struct 17 | operational_settings: &'a OperationalSettings, | ^^^^^^^^^^^^^^^^^^^^ warning: associated items `resolve_call_arguments`, `resolve_expr_to_dix`, and `resolve_value_to_dix` are never used --> dixscript/src/Compiler/Core/ValueResolution/value_resolver.rs:1758:8 |  135 | impl<'a> ValueResolver<'a> { | -------------------------- associated items in this implementation ... 1758 | fn resolve_call_arguments( | ^^^^^^^^^^^^^^^^^^^^^^ ... 1775 | fn resolve_expr_to_dix( | ^^^^^^^^^^^^^^^^^^^ ... 1859 | fn resolve_value_to_dix( | ^^^^^^^^^^^^^^^^^^^^ warning: field `error_manager` is never read --> dixscript/src/Compiler/Core/BinarySerialization/value_decoder.rs:13:5 | 12 | pub struct ValueDecoder { | ------------ field in this struct 13 | error_manager: ErrorManager, | ^^^^^^^^^^^^^ warning: field `position` is never read --> dixscript/src/Compiler/Core/general_parser.rs:30:5 | 27 | struct SectionData { | ----------- field in this struct ... 30 | position: usize, | ^^^^^^^^ warning: struct `ParseTimings` is never constructed --> dixscript/src/Compiler/Core/general_parser.rs:34:12 | 34 | pub struct ParseTimings { | ^^^^^^^^^^^^ warning: field `is_advanced_mode` is never read --> dixscript/src/Compiler/Core/general_parser.rs:62:5 | 50 | pub struct GeneralParser<'a> { | ------------- field in this struct ... 62 | is_advanced_mode: bool, | ^^^^^^^^^^^^^^^^ warning: field `has_dlm_enabled` is never read --> dixscript/src/Compiler/Core/general_semantics_analyzer.rs:33:5 | 21 | pub struct GeneralSemanticAnalyzer<'a> { | ----------------------- field in this struct ... 33 | has_dlm_enabled: bool, | ^^^^^^^^^^^^^^^ warning: field `error_manager` is never read --> dixscript/src/Runtime/key_resolver.rs:27:5 | 26 | pub struct KeyFileResolver { | --------------- field in this struct 27 | error_manager: ErrorManager, | ^^^^^^^^^^^^^ warning: module `Utilities` should have a snake case name --> dixscript/src/lib.rs:7:9 | 7 | pub mod Utilities; | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `utilities` | = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default warning: module `ErrorManager` should have a snake case name --> dixscript/src/lib.rs:8:9 | 8 | pub mod ErrorManager; | ^^^^^^^^^^^^ help: convert the identifier to snake case: `error_manager` warning: module `Builtins` should have a snake case name --> dixscript/src/lib.rs:9:9 | 9 | pub mod Builtins; | ^^^^^^^^ help: convert the identifier to snake case: `builtins` warning: module `Compiler` should have a snake case name --> dixscript/src/lib.rs:10:9 | 10 | pub mod Compiler; | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `compiler` warning: module `Runtime` should have a snake case name --> dixscript/src/lib.rs:11:9 | 11 | pub mod Runtime; | ^^^^^^^ help: convert the identifier to snake case: `runtime` warning: method `GetSharedInstance` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:40:12 | 40 | pub fn GetSharedInstance(level: Option<LogLevel>, enabled: Option<bool>) -> Arc<Mutex<Self>> { | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_shared_instance` warning: method `HasSharedInstance` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:63:12 | 63 | pub fn HasSharedInstance() -> bool { | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `has_shared_instance` warning: method `IncreaseIndent` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:71:12 | 71 | pub fn IncreaseIndent(&mut self) { | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `increase_indent` warning: method `DecreaseIndent` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:75:12 | 75 | pub fn DecreaseIndent(&mut self) { | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `decrease_indent` warning: method `ResetIndent` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:81:12 | 81 | pub fn ResetIndent(&mut self) { | ^^^^^^^^^^^ help: convert the identifier to snake case: `reset_indent` warning: method `Error` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:87:12 | 87 | pub fn Error(&mut self, message: &str) { | ^^^^^ help: convert the identifier to snake case: `error` warning: method `Warning` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:94:12 | 94 | pub fn Warning(&mut self, message: &str) { | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `warning` warning: method `Info` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:101:12 | 101 | pub fn Info(&mut self, message: &str) { | ^^^^ help: convert the identifier to snake case (notice the capitalization): `info` warning: method `Debug` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:113:12 | 113 | pub fn Debug<F>(&mut self, message_builder: F) | ^^^^^ help: convert the identifier to snake case: `debug` warning: method `DebugStr` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:129:12 | 129 | pub fn DebugStr(&mut self, message: &str) { | ^^^^^^^^ help: convert the identifier to snake case: `debug_str` warning: method `Verbose` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:141:12 | 141 | pub fn Verbose<F>(&mut self, message_builder: F) | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `verbose` warning: method `VerboseStr` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:157:12 | 157 | pub fn VerboseStr(&mut self, message: &str) { | ^^^^^^^^^^ help: convert the identifier to snake case: `verbose_str` warning: method `CreateScope` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:197:12 | 197 | pub fn CreateScope<'a>(&'a mut self, scope_name: &str) -> LoggerScope<'a> { | ^^^^^^^^^^^ help: convert the identifier to snake case: `create_scope` warning: method `CreateDebugScope` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:217:12 | 217 | pub fn CreateDebugScope<'a>(&'a mut self, scope_name: &str) -> LoggerScope<'a> { | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_debug_scope` warning: method `CreateVerboseScope` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:237:12 | 237 | pub fn CreateVerboseScope<'a>(&'a mut self, scope_name: &str) -> LoggerScope<'a> { | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_verbose_scope` warning: method `SetLogLevel` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:275:12 | 275 | pub fn SetLogLevel(&mut self, level: LogLevel) { | ^^^^^^^^^^^ help: convert the identifier to snake case: `set_log_level` warning: method `SetEnabled` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:279:12 | 279 | pub fn SetEnabled(&mut self, enabled: bool) { | ^^^^^^^^^^ help: convert the identifier to snake case: `set_enabled` warning: method `GetCurrentLevel` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:283:12 | 283 | pub fn GetCurrentLevel(&self) -> LogLevel { | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_current_level` warning: method `IsEnabled` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:287:12 | 287 | pub fn IsEnabled(&self) -> bool { | ^^^^^^^^^ help: convert the identifier to snake case: `is_enabled` warning: method `IsDebugEnabled` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:292:12 | 292 | pub fn IsDebugEnabled(&self) -> bool { | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_debug_enabled` warning: method `IsVerboseEnabled` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:304:12 | 304 | pub fn IsVerboseEnabled(&self) -> bool { | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_verbose_enabled` warning: method `WouldLog` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:315:12 | 315 | pub fn WouldLog(&self, level: LogLevel) -> bool { | ^^^^^^^^ help: convert the identifier to snake case: `would_log` warning: method `GetLogContents` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:321:12 | 321 | pub fn GetLogContents(&self) -> &str { | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_log_contents` warning: method `ClearLogBuffer` should have a snake case name --> dixscript/src/Utilities/mid_logger.rs:325:12 | 325 | pub fn ClearLogBuffer(&mut self) { | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `clear_log_buffer` warning: method `IsValidString` should have a snake case name --> dixscript/src/Utilities/mid_helper_functions.rs:19:12 | 19 | pub fn IsValidString(input: Option<&str>) -> bool { | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_valid_string` warning: method `GetEnvironment` should have a snake case name --> dixscript/src/Utilities/mid_helper_functions.rs:36:12 | 36 | pub fn GetEnvironment() -> &'static str { | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_environment` warning: method `GenerateRandomString` should have a snake case name --> dixscript/src/Utilities/mid_helper_functions.rs:48:12 | 48 | pub fn GenerateRandomString(length: usize, use_special_characters: bool) -> String { | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_random_string` warning: method `GetStructOrClassMemberValues` should have a snake case name --> dixscript/src/Utilities/mid_helper_functions.rs:77:12 | 77 | pub fn GetStructOrClassMemberValues<T: std::fmt::Debug>(instance: &T) -> String { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_struct_or_class_member_values` warning: trait method `IsNullOrEmpty` should have a snake case name --> dixscript/src/Utilities/utilities.rs:3:8 | 3 | fn IsNullOrEmpty(&self) -> bool; | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_null_or_empty` warning: trait method `IsNullOrWhiteSpace` should have a snake case name --> dixscript/src/Utilities/utilities.rs:4:8 | 4 | fn IsNullOrWhiteSpace(&self) -> bool; | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_null_or_white_space` warning: trait method `ToUpperInvariant` should have a snake case name --> dixscript/src/Utilities/utilities.rs:5:8 | 5 | fn ToUpperInvariant(&self) -> String; | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `to_upper_invariant` warning: trait method `ToLowerInvariant` should have a snake case name --> dixscript/src/Utilities/utilities.rs:6:8 | 6 | fn ToLowerInvariant(&self) -> String; | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `to_lower_invariant` warning: trait method `Contains` should have a snake case name --> dixscript/src/Utilities/utilities.rs:7:8 | 7 | fn Contains(&self, value: &str) -> bool; | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `contains` warning: trait method `StartsWith` should have a snake case name --> dixscript/src/Utilities/utilities.rs:8:8 | 8 | fn StartsWith(&self, value: &str) -> bool; | ^^^^^^^^^^ help: convert the identifier to snake case: `starts_with` warning: trait method `EndsWith` should have a snake case name --> dixscript/src/Utilities/utilities.rs:9:8 | 9 | fn EndsWith(&self, value: &str) -> bool; | ^^^^^^^^ help: convert the identifier to snake case: `ends_with` warning: trait method `Trim` should have a snake case name --> dixscript/src/Utilities/utilities.rs:10:8 | 10 | fn Trim(&self) -> String; | ^^^^ help: convert the identifier to snake case: `trim` warning: trait method `TrimStart` should have a snake case name --> dixscript/src/Utilities/utilities.rs:11:8 | 11 | fn TrimStart(&self) -> String; | ^^^^^^^^^ help: convert the identifier to snake case: `trim_start` warning: trait method `TrimEnd` should have a snake case name --> dixscript/src/Utilities/utilities.rs:12:8 | 12 | fn TrimEnd(&self) -> String; | ^^^^^^^ help: convert the identifier to snake case: `trim_end` warning: trait method `Replace` should have a snake case name --> dixscript/src/Utilities/utilities.rs:13:8 | 13 | fn Replace(&self, old: &str, new: &str) -> String; | ^^^^^^^ help: convert the identifier to snake case: `replace` warning: trait method `Split` should have a snake case name --> dixscript/src/Utilities/utilities.rs:14:8 | 14 | fn Split(&self, separator: char) -> Vec<String>; | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `split` warning: trait method `Join` should have a snake case name --> dixscript/src/Utilities/utilities.rs:15:8 | 15 | fn Join(separator: &str, values: &[String]) -> String; | ^^^^ help: convert the identifier to snake case: `join` warning: trait method `Substring` should have a snake case name --> dixscript/src/Utilities/utilities.rs:16:8 | 16 | fn Substring(&self, start: usize, length: Option<usize>) -> String; | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `substring` warning: trait method `IndexOf` should have a snake case name --> dixscript/src/Utilities/utilities.rs:17:8 | 17 | fn IndexOf(&self, value: &str) -> Option<usize>; | ^^^^^^^ help: convert the identifier to snake case: `index_of` warning: trait method `LastIndexOf` should have a snake case name --> dixscript/src/Utilities/utilities.rs:18:8 | 18 | fn LastIndexOf(&self, value: &str) -> Option<usize>; | ^^^^^^^^^^^ help: convert the identifier to snake case: `last_index_of` warning: trait method `ToString` should have a snake case name --> dixscript/src/Utilities/utilities.rs:162:8 | 162 | fn ToString(&self) -> String; | ^^^^^^^^ help: convert the identifier to snake case: `to_string` warning: trait method `GetHashCode` should have a snake case name --> dixscript/src/Utilities/utilities.rs:163:8 | 163 | fn GetHashCode(&self) -> u64; | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_hash_code` warning: module `ErrorTypes` should have a snake case name --> dixscript/src/ErrorManager/mod.rs:3:9 | 3 | pub mod ErrorTypes; | ^^^^^^^^^^ help: convert the identifier to snake case: `error_types` warning: module `Helpers` should have a snake case name --> dixscript/src/ErrorManager/mod.rs:4:9 | 4 | pub mod Helpers; | ^^^^^^^ help: convert the identifier to snake case: `helpers` warning: module `Core` should have a snake case name --> dixscript/src/Builtins/mod.rs:4:9 | 4 | pub mod Core; | ^^^^ help: convert the identifier to snake case (notice the capitalization): `core` warning: module `Instance` should have a snake case name --> dixscript/src/Builtins/mod.rs:5:9 | 5 | pub mod Instance; | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `instance` warning: module `Static` should have a snake case name --> dixscript/src/Builtins/mod.rs:6:9 | 6 | pub mod Static; | ^^^^^^ | help: rename the identifier or convert it to a snake case raw identifier | 6 - pub mod Static; 6 + pub mod r#static; | warning: module `Resolver` should have a snake case name --> dixscript/src/Builtins/mod.rs:7:9 | 7 | pub mod Resolver; | ^^^^^^^^ help: convert the identifier to snake case: `resolver` warning: module `AST` should have a snake case name --> dixscript/src/Compiler/mod.rs:4:9 | 4 | pub mod AST; | ^^^ help: convert the identifier to snake case: `ast` warning: module `Core` should have a snake case name --> dixscript/src/Compiler/mod.rs:5:9 | 5 | pub mod Core; | ^^^^ help: convert the identifier to snake case (notice the capitalization): `core` warning: module `DLM` should have a snake case name --> dixscript/src/Compiler/mod.rs:6:9 | 6 | pub mod DLM; | ^^^ help: convert the identifier to snake case: `dlm` warning: module `Extensions` should have a snake case name --> dixscript/src/Compiler/mod.rs:7:9 | 7 | pub mod Extensions; | ^^^^^^^^^^ help: convert the identifier to snake case: `extensions` warning: module `Utilities` should have a snake case name --> dixscript/src/Compiler/mod.rs:8:9 | 8 | pub mod Utilities; | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `utilities` warning: module `VersionControl` should have a snake case name --> dixscript/src/Compiler/mod.rs:9:9 | 9 | pub mod VersionControl; | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `version_control` warning: module `ImportsResolution` should have a snake case name --> dixscript/src/Compiler/mod.rs:10:9 | 10 | pub mod ImportsResolution; | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `imports_resolution` warning: module `Visitors` should have a snake case name --> dixscript/src/Compiler/AST/mod.rs:19:9 | 19 | pub mod Visitors; | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `visitors` warning: module `Tokenizer` should have a snake case name --> dixscript/src/Compiler/Core/mod.rs:9:9 | 9 | pub mod Tokenizer; | ^^^^^^^^^ help: convert the identifier to snake case: `tokenizer` warning: module `SectionParsers` should have a snake case name --> dixscript/src/Compiler/Core/mod.rs:10:9 | 10 | pub mod SectionParsers; | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `section_parsers` warning: module `SectionAnalyzers` should have a snake case name --> dixscript/src/Compiler/Core/mod.rs:11:9 | 11 | pub mod SectionAnalyzers; | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `section_analyzers` warning: module `SectionEnhancers` should have a snake case name --> dixscript/src/Compiler/Core/mod.rs:12:9 | 12 | pub mod SectionEnhancers; | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `section_enhancers` warning: module `ValueResolution` should have a snake case name --> dixscript/src/Compiler/Core/mod.rs:13:9 | 13 | pub mod ValueResolution; | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `value_resolution` warning: module `BinarySerialization` should have a snake case name --> dixscript/src/Compiler/Core/mod.rs:14:9 | 14 | pub mod BinarySerialization; | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `binary_serialization` warning: module `Config` should have a snake case name --> dixscript/src/Compiler/Core/mod.rs:15:9 | 15 | pub mod Config; | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `config` warning: module `Functions` should have a snake case name --> dixscript/src/Compiler/Core/mod.rs:16:9 | 16 | pub mod Functions; | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `functions` warning: module `SectionReaders` should have a snake case name --> dixscript/src/Compiler/Core/BinarySerialization/mod.rs:21:9 | 21 | pub mod SectionReaders; | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `section_readers` warning: module `SectionWriters` should have a snake case name --> dixscript/src/Compiler/Core/BinarySerialization/mod.rs:22:9 | 22 | pub mod SectionWriters; | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `section_writers` warning: module `Auditor` should have a snake case name --> dixscript/src/Compiler/DLM/mod.rs:3:9 | 3 | pub mod Auditor; | ^^^^^^^ help: convert the identifier to snake case: `auditor` warning: module `Compressor` should have a snake case name --> dixscript/src/Compiler/DLM/mod.rs:4:9 | 4 | pub mod Compressor; | ^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `compressor` warning: module `Encryptor` should have a snake case name --> dixscript/src/Compiler/DLM/mod.rs:5:9 | 5 | pub mod Encryptor; | ^^^^^^^^^ help: convert the identifier to snake case: `encryptor` warning: module `KeyManagement` should have a snake case name --> dixscript/src/Compiler/DLM/mod.rs:6:9 | 6 | pub mod KeyManagement; | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `key_management` warning: `dixscript` (lib) generated 149 warnings (run `cargo fix --lib -p dixscript` to apply 32 suggestions) warning: unused imports: `DixLoadOptions` and `DixLoader` --> mdix-wasm/src/builder.rs:5:26 | 5 | use dixscript::Runtime::{DixLoadOptions, DixLoader}; | ^^^^^^^^^^^^^^ ^^^^^^^^^ | = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:202:24 | 202 | pub fn with_string(mut self, path: &str, value: &str) -> Result<MdixBuilder, JsValue> { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:207:21 | 207 | pub fn with_int(mut self, path: &str, value: i32) -> Result<MdixBuilder, JsValue> { | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:221:22 | 221 | pub fn with_long(mut self, path: &str, value: i64) -> Result<MdixBuilder, JsValue> { | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:226:23 | 226 | pub fn with_float(mut self, path: &str, value: f32) -> Result<MdixBuilder, JsValue> { | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:231:24 | 231 | pub fn with_double(mut self, path: &str, value: f64) -> Result<MdixBuilder, JsValue> { | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:236:22 | 236 | pub fn with_bool(mut self, path: &str, value: bool) -> Result<MdixBuilder, JsValue> { | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:242:27 | 242 | pub fn with_hex_color(mut self, path: &str, hex: &str) -> Result<MdixBuilder, JsValue> { | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:251:22 | 251 | pub fn with_date(mut self, path: &str, date: &str) -> Result<MdixBuilder, JsValue> { | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:257:27 | 257 | pub fn with_timestamp(mut self, path: &str, ts: &str) -> Result<MdixBuilder, JsValue> { | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:263:22 | 263 | pub fn with_blob(mut self, path: &str, base64: &str) -> Result<MdixBuilder, JsValue> { | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:269:23 | 269 | pub fn with_regex(mut self, path: &str, pattern: &str) -> Result<MdixBuilder, JsValue> { | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:278:9 | 278 | mut self, | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:289:23 | 289 | pub fn with_array(mut self, path: &str, items_json: &str) -> Result<MdixBuilder, JsValue> { | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:298:24 | 298 | pub fn with_object(mut self, path: &str, props_json: &str) -> Result<MdixBuilder, JsValue> { | ----^^^^ | | | help: remove this `mut` warning: variable does not need to be mutable --> mdix-wasm/src/builder.rs:307:23 | 307 | pub fn with_tuple(mut self, path: &str, items_json: &str) -> Result<MdixBuilder, JsValue> { | ----^^^^ | | | help: remove this `mut` warning: associated function `new` is never used --> mdix-wasm/src/schema.rs:179:19 | 178 | impl MdixValidationReport { | ------------------------- associated function in this implementation 179 | pub(crate) fn new(report: ValidationReport) -> Self { | ^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: method `isSuccess` should have a snake case name --> mdix-wasm/src/dlm.rs:58:12 | 58 | pub fn isSuccess(&self) -> bool { | ^^^^^^^^^ help: convert the identifier to snake case: `is_success` | = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default warning: method `processedData` should have a snake case name --> mdix-wasm/src/dlm.rs:66:12 | 66 | pub fn processedData(&self) -> Vec<u8> { | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `processed_data` warning: method `keyFileContent` should have a snake case name --> mdix-wasm/src/dlm.rs:74:12 | 74 | pub fn keyFileContent(&self) -> Option<String> { | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `key_file_content` warning: method `executedModules` should have a snake case name --> mdix-wasm/src/dlm.rs:80:12 | 80 | pub fn executedModules(&self) -> Vec<String> { | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `executed_modules` warning: `mdix-wasm` (lib) generated 21 warnings (run `cargo fix --lib -p mdix-wasm` to apply 16 suggestions) warning: `mdix-wasm` (lib test) generated 21 warnings (21 duplicates)  Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s  Running unittests src/lib.rs (/home/runner/work/DixScript-Rust/DixScript-Rust/target/wasm32-unknown-unknown/debug/deps/mdix_wasm-b0689ed1dd665535.wasm) no tests to run!  Running tests/web.rs (/home/runner/work/DixScript-Rust/DixScript-Rust/target/wasm32-unknown-unknown/debug/deps/web-71430dc870c1050d.wasm) Executing bindgen... Running headless tests in Chrome on `http://127.0.0.1:35125/` Try find `webdriver.json` for configure browser's capabilities: Not found Starting new webdriver session... Visiting http://127.0.0.1:46017... Loading page elements... Waiting for test to finish... running 30 tests test prefetch_import_then_cloud_import_resolves ... ok test prefetch_import_does_not_panic ... ok test merge_with_primary_wins_by_default_weighting ... ok test merge_with_merges_two_loaded_databases ... ok test merge_sources_weighted_respects_explicit_weights ... ok test merge_sources_weighted_rejects_empty_list ... ok test merge_sources_throw_on_conflict_succeeds_for_disjoint_data ... ok test merge_sources_throw_on_conflict_raises_for_real_conflict ... ok test merge_sources_secondary_wins_on_conflict ... ok test merge_sources_rejects_empty_list ... ok test merge_sources_primary_wins_on_conflict ... ok test merge_sources_group_array_same_id_twice_is_not_key_merged ... ok test merge_sources_group_array_combine_fails_under_throw_on_conflict ... ok test merge_sources_conflicts_report_has_the_expected_shape ... ok test merge_sources_combines_non_conflicting_group_array_items ... ok test merge_sources_combines_disjoint_data ... ok test load_str_rejects_empty_source ... ok test load_str_parses_valid_source ... ok test get_string_returns_the_right_value ... ok test get_string_on_missing_path_errors_cleanly ... ok test get_int_returns_the_right_value ... ok test get_bool_returns_the_right_value ... ok test from_toml_round_trips_a_simple_table ... ok test from_json_round_trips_a_simple_object ... ok test entry_count_is_nonzero_for_valid_data ... ok test decompile_with_dlm_rejects_empty_data ... ok test compile_with_dlm_round_trips_with_compression_and_encryption ... ok test compile_with_dlm_rejects_empty_source ... ok test compile_with_dlm_passthrough_when_no_dlm_section ... ok test cloud_import_without_prefetch_errors_cleanly ... ok test result: ok. 30 passed; 0 failed; 0 ignored; 0 filtered out; finished in 0.24s  Doc-tests mdix_wasm running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [WARN]: ⚠️ There's a newer version of wasm-pack available, the new version is: 0.15.0, you are using: 0.13.1. To update, navigate to: https://rustwasm.github.io/wasm-pack/installer/