[INFO] fetching crate celsium 0.1.5... [INFO] checking celsium-0.1.5 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate celsium 0.1.5 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate celsium 0.1.5 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate celsium 0.1.5 [INFO] finished tweaking crates.io crate celsium 0.1.5 [INFO] tweaked toml for crates.io crate celsium 0.1.5 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 31 packages to latest compatible versions [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88976c23fa007271d2ae06f7381cb0fd364a82c5fe137f5ac8787adefbf232ea [INFO] running `Command { std: "docker" "start" "-a" "88976c23fa007271d2ae06f7381cb0fd364a82c5fe137f5ac8787adefbf232ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88976c23fa007271d2ae06f7381cb0fd364a82c5fe137f5ac8787adefbf232ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88976c23fa007271d2ae06f7381cb0fd364a82c5fe137f5ac8787adefbf232ea", kill_on_drop: false }` [INFO] [stdout] 88976c23fa007271d2ae06f7381cb0fd364a82c5fe137f5ac8787adefbf232ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc384abf84ecdd3a872c4ff64656307c8d1ba8649e2072da4944ab20b4b89ee9 [INFO] running `Command { std: "docker" "start" "-a" "bc384abf84ecdd3a872c4ff64656307c8d1ba8649e2072da4944ab20b4b89ee9", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking celsium v0.1.5 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/vm/mod.rs (2 fixes) [INFO] [stderr] Fixed src/vm/vm.rs (5 fixes) [INFO] [stderr] Fixed src/block.rs (4 fixes) [INFO] [stderr] Fixed src/lib.rs (3 fixes) [INFO] [stdout] warning: unexpected `cfg` condition value: `wee_alloc` [INFO] [stdout] --> src/lib.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "wee_alloc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `wee_alloc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `wee_alloc` [INFO] [stdout] --> src/vm/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "wee_alloc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `wee_alloc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RUST_FUNCTION` should have an upper camel case name [INFO] [stdout] --> src/vm/vm.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | RUST_FUNCTION, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RustFunction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `USER_DEFINED_FUNCTION` should have an upper camel case name [INFO] [stdout] --> src/vm/vm.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | USER_DEFINED_FUNCTION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UserDefinedFunction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LESS_THAN` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | LESS_THAN, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LessThan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LARGER_THAN` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | LARGER_THAN, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `LargerThan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LESS_OR_EQ` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | LESS_OR_EQ, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LessOrEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LARGER_OR_EQ` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | LARGER_OR_EQ, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LargerOrEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NOT_EQ` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | NOT_EQ, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `NotEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_CONST` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | LOAD_CONST { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LoadConst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_VAR` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | LOAD_VAR { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LoadVar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CALL_FUNCTION` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | CALL_FUNCTION { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CallFunction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CALL_PRINT_FUNCTION` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | CALL_PRINT_FUNCTION { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CallPrintFunction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LESS_THAN` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | LESS_THAN, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LessThan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LARGER_THAN` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | LARGER_THAN, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `LargerThan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LESS_OR_EQ` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | LESS_OR_EQ, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LessOrEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LARGER_OR_EQ` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | LARGER_OR_EQ, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LargerOrEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NOT_EQ` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | NOT_EQ, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `NotEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JUMP_IF_FALSE` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | JUMP_IF_FALSE { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `JumpIfFalse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JUMP_BACK` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | JUMP_BACK { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `JumpBack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DEFINE_VAR` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | DEFINE_VAR { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `DefineVar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ASSIGN_VAR` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | ASSIGN_VAR { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `AssignVar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BUILTIN_TYPES` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | pub enum BUILTIN_TYPES { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BuiltinTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MAGIC_INT` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | MAGIC_INT, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `MagicInt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/vm/vm.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 74 | / match self.stack.pop_back().unwrap() { [INFO] [stdout] 75 | | StackValue::BOOL { value } => { [INFO] [stdout] 76 | | if !newline { [INFO] [stdout] 77 | | if value { [INFO] [stdout] ... | [INFO] [stdout] 103 | | } [INFO] [stdout] 104 | | }; [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 105 | return "".to_owned(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:93:34 [INFO] [stdout] | [INFO] [stdout] 93 | StackValue::BIGINT { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | StackValue::BOOL { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:101:34 [INFO] [stdout] | [INFO] [stdout] 101 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:112:34 [INFO] [stdout] | [INFO] [stdout] 112 | StackValue::BIGINT { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:113:34 [INFO] [stdout] | [INFO] [stdout] 113 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:116:32 [INFO] [stdout] | [INFO] [stdout] 116 | StackValue::BOOL { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:120:34 [INFO] [stdout] | [INFO] [stdout] 120 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:131:34 [INFO] [stdout] | [INFO] [stdout] 131 | StackValue::BIGINT { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:132:34 [INFO] [stdout] | [INFO] [stdout] 132 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:135:32 [INFO] [stdout] | [INFO] [stdout] 135 | StackValue::BOOL { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:139:34 [INFO] [stdout] | [INFO] [stdout] 139 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:150:34 [INFO] [stdout] | [INFO] [stdout] 150 | StackValue::BIGINT { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:151:34 [INFO] [stdout] | [INFO] [stdout] 151 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:154:32 [INFO] [stdout] | [INFO] [stdout] 154 | StackValue::BOOL { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:158:34 [INFO] [stdout] | [INFO] [stdout] 158 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | StackValue::BIGINT { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:170:34 [INFO] [stdout] | [INFO] [stdout] 170 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:173:32 [INFO] [stdout] | [INFO] [stdout] 173 | StackValue::BOOL { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:177:34 [INFO] [stdout] | [INFO] [stdout] 177 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:180:32 [INFO] [stdout] | [INFO] [stdout] 180 | StackValue::BOOL { value } => panic!("Cannot compare STRING with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:181:34 [INFO] [stdout] | [INFO] [stdout] 181 | StackValue::BIGINT { value } => panic!("Cannot compare STRING with BIGINT"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:194:34 [INFO] [stdout] | [INFO] [stdout] 194 | StackValue::BIGINT { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:195:34 [INFO] [stdout] | [INFO] [stdout] 195 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:198:32 [INFO] [stdout] | [INFO] [stdout] 198 | StackValue::BOOL { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:202:34 [INFO] [stdout] | [INFO] [stdout] 202 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:205:32 [INFO] [stdout] | [INFO] [stdout] 205 | StackValue::BOOL { value } => panic!("Cannot compare STRING with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:206:34 [INFO] [stdout] | [INFO] [stdout] 206 | StackValue::BIGINT { value } => panic!("Cannot compare STRING with BIGINT"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/vm/mod.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | OPTCODE::CALL_FUNCTION { name } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_type` [INFO] [stdout] --> src/vm/mod.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | data_type, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `data_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/vm/mod.rs:25:44 [INFO] [stdout] | [INFO] [stdout] 25 | pub(super) fn run(bytecode: &Vec, config: &CelsiumConfig) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_wasm` is never read [INFO] [stdout] --> src/lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct CelsiumConfig { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 88 | is_wasm: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `return_type` and `args` are never read [INFO] [stdout] --> src/module.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct FunctionSignature { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 17 | pub(crate) name: String, [INFO] [stdout] 18 | pub(crate) return_type: FunctionReturnType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | pub(crate) args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionSignature` 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: fields `name` and `arg_type` are never read [INFO] [stdout] --> src/module.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct FuncArg { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 37 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | arg_type: BUILTIN_TYPES, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FuncArg` 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 `visibility` is never read [INFO] [stdout] --> src/module.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Function { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | visibility: VISIBILITY, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FUNCTION` is never used [INFO] [stdout] --> src/vm/vm.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum FUNCTION { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `define_function` is never used [INFO] [stdout] --> src/vm/vm.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn define_function() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `module_id` and `visibility` are never read [INFO] [stdout] --> src/vm/vm.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Variable { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 18 | module_id: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | visibility: VISIBILITY, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/lib.rs (1 fix) [INFO] [stdout] warning: unexpected `cfg` condition value: `wee_alloc` [INFO] [stdout] --> src/lib.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "wee_alloc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `wee_alloc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `wee_alloc` [INFO] [stdout] --> src/vm/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "wee_alloc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `wee_alloc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RUST_FUNCTION` should have an upper camel case name [INFO] [stdout] --> src/vm/vm.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | RUST_FUNCTION, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RustFunction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `USER_DEFINED_FUNCTION` should have an upper camel case name [INFO] [stdout] --> src/vm/vm.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | USER_DEFINED_FUNCTION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UserDefinedFunction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LESS_THAN` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | LESS_THAN, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LessThan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LARGER_THAN` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | LARGER_THAN, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `LargerThan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LESS_OR_EQ` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | LESS_OR_EQ, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LessOrEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LARGER_OR_EQ` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | LARGER_OR_EQ, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LargerOrEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NOT_EQ` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | NOT_EQ, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `NotEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_CONST` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | LOAD_CONST { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LoadConst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_VAR` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | LOAD_VAR { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LoadVar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CALL_FUNCTION` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | CALL_FUNCTION { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CallFunction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CALL_PRINT_FUNCTION` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | CALL_PRINT_FUNCTION { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CallPrintFunction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LESS_THAN` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | LESS_THAN, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LessThan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LARGER_THAN` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | LARGER_THAN, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `LargerThan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LESS_OR_EQ` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | LESS_OR_EQ, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LessOrEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LARGER_OR_EQ` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | LARGER_OR_EQ, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LargerOrEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NOT_EQ` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | NOT_EQ, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `NotEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JUMP_IF_FALSE` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | JUMP_IF_FALSE { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `JumpIfFalse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JUMP_BACK` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | JUMP_BACK { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `JumpBack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DEFINE_VAR` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | DEFINE_VAR { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `DefineVar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ASSIGN_VAR` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | ASSIGN_VAR { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `AssignVar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BUILTIN_TYPES` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum BUILTIN_TYPES { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BuiltinTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MAGIC_INT` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | MAGIC_INT, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `MagicInt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/vm/vm.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 74 | / match self.stack.pop_back().unwrap() { [INFO] [stdout] 75 | | StackValue::BOOL { value } => { [INFO] [stdout] 76 | | if !newline { [INFO] [stdout] 77 | | if value { [INFO] [stdout] ... | [INFO] [stdout] 103 | | } [INFO] [stdout] 104 | | }; [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 105 | return "".to_owned(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:93:34 [INFO] [stdout] | [INFO] [stdout] 93 | StackValue::BIGINT { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | StackValue::BOOL { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:101:34 [INFO] [stdout] | [INFO] [stdout] 101 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:112:34 [INFO] [stdout] | [INFO] [stdout] 112 | StackValue::BIGINT { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:113:34 [INFO] [stdout] | [INFO] [stdout] 113 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:116:32 [INFO] [stdout] | [INFO] [stdout] 116 | StackValue::BOOL { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:120:34 [INFO] [stdout] | [INFO] [stdout] 120 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:131:34 [INFO] [stdout] | [INFO] [stdout] 131 | StackValue::BIGINT { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:132:34 [INFO] [stdout] | [INFO] [stdout] 132 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:135:32 [INFO] [stdout] | [INFO] [stdout] 135 | StackValue::BOOL { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:139:34 [INFO] [stdout] | [INFO] [stdout] 139 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:150:34 [INFO] [stdout] | [INFO] [stdout] 150 | StackValue::BIGINT { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:151:34 [INFO] [stdout] | [INFO] [stdout] 151 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:154:32 [INFO] [stdout] | [INFO] [stdout] 154 | StackValue::BOOL { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:158:34 [INFO] [stdout] | [INFO] [stdout] 158 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | StackValue::BIGINT { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:170:34 [INFO] [stdout] | [INFO] [stdout] 170 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:173:32 [INFO] [stdout] | [INFO] [stdout] 173 | StackValue::BOOL { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:177:34 [INFO] [stdout] | [INFO] [stdout] 177 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:180:32 [INFO] [stdout] | [INFO] [stdout] 180 | StackValue::BOOL { value } => panic!("Cannot compare STRING with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:181:34 [INFO] [stdout] | [INFO] [stdout] 181 | StackValue::BIGINT { value } => panic!("Cannot compare STRING with BIGINT"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:194:34 [INFO] [stdout] | [INFO] [stdout] 194 | StackValue::BIGINT { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:195:34 [INFO] [stdout] | [INFO] [stdout] 195 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:198:32 [INFO] [stdout] | [INFO] [stdout] 198 | StackValue::BOOL { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:202:34 [INFO] [stdout] | [INFO] [stdout] 202 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:205:32 [INFO] [stdout] | [INFO] [stdout] 205 | StackValue::BOOL { value } => panic!("Cannot compare STRING with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:206:34 [INFO] [stdout] | [INFO] [stdout] 206 | StackValue::BIGINT { value } => panic!("Cannot compare STRING with BIGINT"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/vm/mod.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | OPTCODE::CALL_FUNCTION { name } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_type` [INFO] [stdout] --> src/vm/mod.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | data_type, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `data_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/vm/mod.rs:25:44 [INFO] [stdout] | [INFO] [stdout] 25 | pub(super) fn run(bytecode: &Vec, config: &CelsiumConfig) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_wasm` is never read [INFO] [stdout] --> src/lib.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct CelsiumConfig { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 87 | is_wasm: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `return_type` and `args` are never read [INFO] [stdout] --> src/module.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct FunctionSignature { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 17 | pub(crate) name: String, [INFO] [stdout] 18 | pub(crate) return_type: FunctionReturnType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | pub(crate) args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionSignature` 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: fields `name` and `arg_type` are never read [INFO] [stdout] --> src/module.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct FuncArg { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 37 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | arg_type: BUILTIN_TYPES, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FuncArg` 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 `visibility` is never read [INFO] [stdout] --> src/module.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Function { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | visibility: VISIBILITY, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FUNCTION` is never used [INFO] [stdout] --> src/vm/vm.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum FUNCTION { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `define_function` is never used [INFO] [stdout] --> src/vm/vm.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn define_function() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `module_id` and `visibility` are never read [INFO] [stdout] --> src/vm/vm.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Variable { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 18 | module_id: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | visibility: VISIBILITY, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.45s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking celsium v0.1.5 (/tmp/fixit) [INFO] [stdout] warning: unexpected `cfg` condition value: `wee_alloc` [INFO] [stdout] --> src/lib.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "wee_alloc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `wee_alloc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `wee_alloc` [INFO] [stdout] --> src/vm/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "wee_alloc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `wee_alloc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RUST_FUNCTION` should have an upper camel case name [INFO] [stdout] --> src/vm/vm.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | RUST_FUNCTION, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RustFunction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `USER_DEFINED_FUNCTION` should have an upper camel case name [INFO] [stdout] --> src/vm/vm.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | USER_DEFINED_FUNCTION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UserDefinedFunction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LESS_THAN` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | LESS_THAN, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LessThan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LARGER_THAN` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | LARGER_THAN, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `LargerThan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LESS_OR_EQ` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | LESS_OR_EQ, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LessOrEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LARGER_OR_EQ` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | LARGER_OR_EQ, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LargerOrEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NOT_EQ` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | NOT_EQ, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `NotEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_CONST` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | LOAD_CONST { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LoadConst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_VAR` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | LOAD_VAR { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LoadVar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CALL_FUNCTION` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | CALL_FUNCTION { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CallFunction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CALL_PRINT_FUNCTION` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | CALL_PRINT_FUNCTION { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CallPrintFunction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LESS_THAN` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | LESS_THAN, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LessThan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LARGER_THAN` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | LARGER_THAN, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `LargerThan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LESS_OR_EQ` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | LESS_OR_EQ, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LessOrEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LARGER_OR_EQ` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | LARGER_OR_EQ, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LargerOrEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NOT_EQ` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | NOT_EQ, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `NotEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JUMP_IF_FALSE` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | JUMP_IF_FALSE { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `JumpIfFalse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JUMP_BACK` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | JUMP_BACK { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `JumpBack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DEFINE_VAR` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | DEFINE_VAR { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `DefineVar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ASSIGN_VAR` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | ASSIGN_VAR { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `AssignVar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BUILTIN_TYPES` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum BUILTIN_TYPES { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BuiltinTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MAGIC_INT` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | MAGIC_INT, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `MagicInt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Block` [INFO] [stdout] --> src/lib.rs:124:30 [INFO] [stdout] | [INFO] [stdout] 124 | let mut main_block = Block::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Block` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 118 + use crate::block::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Block` [INFO] [stdout] --> src/lib.rs:126:30 [INFO] [stdout] | [INFO] [stdout] 126 | let mut loop_block = Block::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Block` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 118 + use crate::block::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Block` [INFO] [stdout] --> src/lib.rs:131:36 [INFO] [stdout] | [INFO] [stdout] 131 | let mut loop_count_block = Block::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Block` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 118 + use crate::block::Block; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `wee_alloc` [INFO] [stdout] --> src/lib.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "wee_alloc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `wee_alloc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `wee_alloc` [INFO] [stdout] --> src/vm/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "wee_alloc")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `wee_alloc` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RUST_FUNCTION` should have an upper camel case name [INFO] [stdout] --> src/vm/vm.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | RUST_FUNCTION, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `RustFunction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `USER_DEFINED_FUNCTION` should have an upper camel case name [INFO] [stdout] --> src/vm/vm.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | USER_DEFINED_FUNCTION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UserDefinedFunction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LESS_THAN` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | LESS_THAN, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LessThan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LARGER_THAN` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | LARGER_THAN, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `LargerThan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LESS_OR_EQ` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | LESS_OR_EQ, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LessOrEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LARGER_OR_EQ` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | LARGER_OR_EQ, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LargerOrEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NOT_EQ` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | NOT_EQ, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `NotEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_CONST` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | LOAD_CONST { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LoadConst` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_VAR` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | LOAD_VAR { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LoadVar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CALL_FUNCTION` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | CALL_FUNCTION { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CallFunction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CALL_PRINT_FUNCTION` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | CALL_PRINT_FUNCTION { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CallPrintFunction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LESS_THAN` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | LESS_THAN, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `LessThan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LARGER_THAN` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | LARGER_THAN, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `LargerThan` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LESS_OR_EQ` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | LESS_OR_EQ, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LessOrEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LARGER_OR_EQ` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | LARGER_OR_EQ, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LargerOrEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NOT_EQ` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | NOT_EQ, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `NotEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JUMP_IF_FALSE` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | JUMP_IF_FALSE { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `JumpIfFalse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JUMP_BACK` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | JUMP_BACK { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `JumpBack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DEFINE_VAR` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | DEFINE_VAR { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `DefineVar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ASSIGN_VAR` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | ASSIGN_VAR { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `AssignVar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `BUILTIN_TYPES` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | pub enum BUILTIN_TYPES { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BuiltinTypes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MAGIC_INT` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | MAGIC_INT, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `MagicInt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/vm/vm.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 74 | / match self.stack.pop_back().unwrap() { [INFO] [stdout] 75 | | StackValue::BOOL { value } => { [INFO] [stdout] 76 | | if !newline { [INFO] [stdout] 77 | | if value { [INFO] [stdout] ... | [INFO] [stdout] 103 | | } [INFO] [stdout] 104 | | }; [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 105 | return "".to_owned(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/vm/vm.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 74 | / match self.stack.pop_back().unwrap() { [INFO] [stdout] 75 | | StackValue::BOOL { value } => { [INFO] [stdout] 76 | | if !newline { [INFO] [stdout] 77 | | if value { [INFO] [stdout] ... | [INFO] [stdout] 103 | | } [INFO] [stdout] 104 | | }; [INFO] [stdout] | |_________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] 105 | return "".to_owned(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:93:34 [INFO] [stdout] | [INFO] [stdout] 93 | StackValue::BIGINT { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | StackValue::BOOL { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:101:34 [INFO] [stdout] | [INFO] [stdout] 101 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:112:34 [INFO] [stdout] | [INFO] [stdout] 112 | StackValue::BIGINT { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:113:34 [INFO] [stdout] | [INFO] [stdout] 113 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:116:32 [INFO] [stdout] | [INFO] [stdout] 116 | StackValue::BOOL { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:120:34 [INFO] [stdout] | [INFO] [stdout] 120 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:131:34 [INFO] [stdout] | [INFO] [stdout] 131 | StackValue::BIGINT { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:132:34 [INFO] [stdout] | [INFO] [stdout] 132 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:135:32 [INFO] [stdout] | [INFO] [stdout] 135 | StackValue::BOOL { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:139:34 [INFO] [stdout] | [INFO] [stdout] 139 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:150:34 [INFO] [stdout] | [INFO] [stdout] 150 | StackValue::BIGINT { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:151:34 [INFO] [stdout] | [INFO] [stdout] 151 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:154:32 [INFO] [stdout] | [INFO] [stdout] 154 | StackValue::BOOL { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:158:34 [INFO] [stdout] | [INFO] [stdout] 158 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | StackValue::BIGINT { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:170:34 [INFO] [stdout] | [INFO] [stdout] 170 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:173:32 [INFO] [stdout] | [INFO] [stdout] 173 | StackValue::BOOL { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:177:34 [INFO] [stdout] | [INFO] [stdout] 177 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:180:32 [INFO] [stdout] | [INFO] [stdout] 180 | StackValue::BOOL { value } => panic!("Cannot compare STRING with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:181:34 [INFO] [stdout] | [INFO] [stdout] 181 | StackValue::BIGINT { value } => panic!("Cannot compare STRING with BIGINT"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:194:34 [INFO] [stdout] | [INFO] [stdout] 194 | StackValue::BIGINT { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:195:34 [INFO] [stdout] | [INFO] [stdout] 195 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:198:32 [INFO] [stdout] | [INFO] [stdout] 198 | StackValue::BOOL { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:202:34 [INFO] [stdout] | [INFO] [stdout] 202 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:205:32 [INFO] [stdout] | [INFO] [stdout] 205 | StackValue::BOOL { value } => panic!("Cannot compare STRING with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:206:34 [INFO] [stdout] | [INFO] [stdout] 206 | StackValue::BIGINT { value } => panic!("Cannot compare STRING with BIGINT"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/vm/mod.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | OPTCODE::CALL_FUNCTION { name } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_type` [INFO] [stdout] --> src/vm/mod.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | data_type, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `data_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/vm/mod.rs:25:44 [INFO] [stdout] | [INFO] [stdout] 25 | pub(super) fn run(bytecode: &Vec, config: &CelsiumConfig) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_wasm` is never read [INFO] [stdout] --> src/lib.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct CelsiumConfig { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 87 | is_wasm: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `return_type` and `args` are never read [INFO] [stdout] --> src/module.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct FunctionSignature { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 17 | pub(crate) name: String, [INFO] [stdout] 18 | pub(crate) return_type: FunctionReturnType, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 19 | pub(crate) args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionSignature` 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: fields `name` and `arg_type` are never read [INFO] [stdout] --> src/module.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct FuncArg { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 37 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | arg_type: BUILTIN_TYPES, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FuncArg` 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 `visibility` is never read [INFO] [stdout] --> src/module.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Function { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | visibility: VISIBILITY, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Function` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FUNCTION` is never used [INFO] [stdout] --> src/vm/vm.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum FUNCTION { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `define_function` is never used [INFO] [stdout] --> src/vm/vm.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn define_function() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `module_id` and `visibility` are never read [INFO] [stdout] --> src/vm/vm.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Variable { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 18 | module_id: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | visibility: VISIBILITY, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 63 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:93:34 [INFO] [stdout] | [INFO] [stdout] 93 | StackValue::BIGINT { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:94:34 [INFO] [stdout] | [INFO] [stdout] 94 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | StackValue::BOOL { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:101:34 [INFO] [stdout] | [INFO] [stdout] 101 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:112:34 [INFO] [stdout] | [INFO] [stdout] 112 | StackValue::BIGINT { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:113:34 [INFO] [stdout] | [INFO] [stdout] 113 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:116:32 [INFO] [stdout] | [INFO] [stdout] 116 | StackValue::BOOL { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:120:34 [INFO] [stdout] | [INFO] [stdout] 120 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:131:34 [INFO] [stdout] | [INFO] [stdout] 131 | StackValue::BIGINT { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:132:34 [INFO] [stdout] | [INFO] [stdout] 132 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:135:32 [INFO] [stdout] | [INFO] [stdout] 135 | StackValue::BOOL { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:139:34 [INFO] [stdout] | [INFO] [stdout] 139 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:150:34 [INFO] [stdout] | [INFO] [stdout] 150 | StackValue::BIGINT { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:151:34 [INFO] [stdout] | [INFO] [stdout] 151 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:154:32 [INFO] [stdout] | [INFO] [stdout] 154 | StackValue::BOOL { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:158:34 [INFO] [stdout] | [INFO] [stdout] 158 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:169:34 [INFO] [stdout] | [INFO] [stdout] 169 | StackValue::BIGINT { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:170:34 [INFO] [stdout] | [INFO] [stdout] 170 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:173:32 [INFO] [stdout] | [INFO] [stdout] 173 | StackValue::BOOL { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:177:34 [INFO] [stdout] | [INFO] [stdout] 177 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:180:32 [INFO] [stdout] | [INFO] [stdout] 180 | StackValue::BOOL { value } => panic!("Cannot compare STRING with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:181:34 [INFO] [stdout] | [INFO] [stdout] 181 | StackValue::BIGINT { value } => panic!("Cannot compare STRING with BIGINT"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:194:34 [INFO] [stdout] | [INFO] [stdout] 194 | StackValue::BIGINT { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:195:34 [INFO] [stdout] | [INFO] [stdout] 195 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:198:32 [INFO] [stdout] | [INFO] [stdout] 198 | StackValue::BOOL { value } => panic!("Cannot compare MAGICINT with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:202:34 [INFO] [stdout] | [INFO] [stdout] 202 | StackValue::STRING { value } => panic!("Cannot compare MAGICINT with STRING"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:205:32 [INFO] [stdout] | [INFO] [stdout] 205 | StackValue::BOOL { value } => panic!("Cannot compare STRING with BOOL"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/vm/math_operators.rs:206:34 [INFO] [stdout] | [INFO] [stdout] 206 | StackValue::BIGINT { value } => panic!("Cannot compare STRING with BIGINT"), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `value: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/vm/mod.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | OPTCODE::CALL_FUNCTION { name } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_type` [INFO] [stdout] --> src/vm/mod.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | data_type, [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `data_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/vm/mod.rs:25:44 [INFO] [stdout] | [INFO] [stdout] 25 | pub(super) fn run(bytecode: &Vec, config: &CelsiumConfig) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `celsium` (lib test) due to 4 previous errors; 56 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "bc384abf84ecdd3a872c4ff64656307c8d1ba8649e2072da4944ab20b4b89ee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc384abf84ecdd3a872c4ff64656307c8d1ba8649e2072da4944ab20b4b89ee9", kill_on_drop: false }` [INFO] [stdout] bc384abf84ecdd3a872c4ff64656307c8d1ba8649e2072da4944ab20b4b89ee9