[INFO] cloning repository https://github.com/dashluu/ox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dashluu/ox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdashluu%2Fox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdashluu%2Fox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2f753da6cd3f182c67f37d13c4e7dc4e400664b5 [INFO] checking dashluu/ox against master#b56aaec52bc0fa35591a872fb4aac81f606e265c for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdashluu%2Fox" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dashluu/ox [INFO] finished tweaking git repo https://github.com/dashluu/ox [INFO] tweaked toml for git repo https://github.com/dashluu/ox written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dashluu/ox on toolchain b56aaec52bc0fa35591a872fb4aac81f606e265c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dashluu/ox already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-derive v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 700cb7787506110ec2588f5e1703e15f0cce4406877d2ac95cdf8fb4d17db992 [INFO] running `Command { std: "docker" "start" "-a" "700cb7787506110ec2588f5e1703e15f0cce4406877d2ac95cdf8fb4d17db992", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "700cb7787506110ec2588f5e1703e15f0cce4406877d2ac95cdf8fb4d17db992", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "700cb7787506110ec2588f5e1703e15f0cce4406877d2ac95cdf8fb4d17db992", kill_on_drop: false }` [INFO] [stdout] 700cb7787506110ec2588f5e1703e15f0cce4406877d2ac95cdf8fb4d17db992 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ec6946fd2abbf7fff35b2d134444e46e04ea5cc589984dd43c9438b5e985138 [INFO] running `Command { std: "docker" "start" "-a" "4ec6946fd2abbf7fff35b2d134444e46e04ea5cc589984dd43c9438b5e985138", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Compiling num-derive v0.4.0 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking ox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `STORE_LOCAL` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | STORE_LOCAL, STORE_ARG, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `StoreLocal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `STORE_ARG` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | STORE_LOCAL, STORE_ARG, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `StoreArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_VAL` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | LOAD_VAL, LOAD_LOCAL, LOAD_ARR, LOAD_LITERAL, LOAD_SCOPE, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LoadVal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_LOCAL` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | LOAD_VAL, LOAD_LOCAL, LOAD_ARR, LOAD_LITERAL, LOAD_SCOPE, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LoadLocal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_ARR` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | LOAD_VAL, LOAD_LOCAL, LOAD_ARR, LOAD_LITERAL, LOAD_SCOPE, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LoadArr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_LITERAL` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | LOAD_VAL, LOAD_LOCAL, LOAD_ARR, LOAD_LITERAL, LOAD_SCOPE, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LoadLiteral` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_SCOPE` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | LOAD_VAL, LOAD_LOCAL, LOAD_ARR, LOAD_LITERAL, LOAD_SCOPE, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LoadScope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F32_PLUS` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | F32_PLUS, F32_MINUS, F32_ADD, F32_SUB, F32_MUL, F32_DIV, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `F32Plus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F32_MINUS` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | F32_PLUS, F32_MINUS, F32_ADD, F32_SUB, F32_MUL, F32_DIV, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `F32Minus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F32_ADD` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | F32_PLUS, F32_MINUS, F32_ADD, F32_SUB, F32_MUL, F32_DIV, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `F32Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F32_SUB` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | F32_PLUS, F32_MINUS, F32_ADD, F32_SUB, F32_MUL, F32_DIV, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `F32Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F32_MUL` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | F32_PLUS, F32_MINUS, F32_ADD, F32_SUB, F32_MUL, F32_DIV, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `F32Mul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F32_DIV` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:7:53 [INFO] [stdout] | [INFO] [stdout] 7 | F32_PLUS, F32_MINUS, F32_ADD, F32_SUB, F32_MUL, F32_DIV, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `F32Div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `I32_PLUS` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | I32_PLUS, I32_MINUS, I32_ADD, I32_SUB, I32_MUL, I32_DIV, MOD, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `I32Plus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `I32_MINUS` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | I32_PLUS, I32_MINUS, I32_ADD, I32_SUB, I32_MUL, I32_DIV, MOD, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `I32Minus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `I32_ADD` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | I32_PLUS, I32_MINUS, I32_ADD, I32_SUB, I32_MUL, I32_DIV, MOD, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `I32Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `I32_SUB` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | I32_PLUS, I32_MINUS, I32_ADD, I32_SUB, I32_MUL, I32_DIV, MOD, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `I32Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `I32_MUL` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:8:44 [INFO] [stdout] | [INFO] [stdout] 8 | I32_PLUS, I32_MINUS, I32_ADD, I32_SUB, I32_MUL, I32_DIV, MOD, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `I32Mul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `I32_DIV` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:8:53 [INFO] [stdout] | [INFO] [stdout] 8 | I32_PLUS, I32_MINUS, I32_ADD, I32_SUB, I32_MUL, I32_DIV, MOD, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `I32Div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ART_SHR` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | SHL, ART_SHR, LOG_SHR, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `ArtShr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOG_SHR` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | SHL, ART_SHR, LOG_SHR, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `LogShr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BW_NOT` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | BW_NOT, BW_AND, BW_OR, BW_XOR, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `BwNot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BW_AND` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | BW_NOT, BW_AND, BW_OR, BW_XOR, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `BwAnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BW_OR` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | BW_NOT, BW_AND, BW_OR, BW_XOR, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `BwOr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BW_XOR` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | BW_NOT, BW_AND, BW_OR, BW_XOR, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `BwXor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOG_NOT` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | LOG_NOT, LOG_AND, LOG_OR, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `LogNot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOG_AND` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | LOG_NOT, LOG_AND, LOG_OR, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `LogAnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOG_OR` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | LOG_NOT, LOG_AND, LOG_OR, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LogOr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F32_GREATER` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | F32_GREATER, F32_LESS, F32_GEQ, F32_LEQ, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `F32Greater` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F32_LESS` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | F32_GREATER, F32_LESS, F32_GEQ, F32_LEQ, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `F32Less` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F32_GEQ` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | F32_GREATER, F32_LESS, F32_GEQ, F32_LEQ, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `F32Geq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F32_LEQ` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | F32_GREATER, F32_LESS, F32_GEQ, F32_LEQ, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `F32Leq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `I32_GREATER` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | I32_GREATER, I32_LESS, I32_GEQ, I32_LEQ, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `I32Greater` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `I32_LESS` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | I32_GREATER, I32_LESS, I32_GEQ, I32_LEQ, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `I32Less` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `I32_GEQ` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | I32_GREATER, I32_LESS, I32_GEQ, I32_LEQ, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `I32Geq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `I32_LEQ` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:13:37 [INFO] [stdout] | [INFO] [stdout] 13 | I32_GREATER, I32_LESS, I32_GEQ, I32_LEQ, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `I32Leq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `I32_TO_F32` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | I32_TO_F32, F32_TO_I32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `I32ToF32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F32_TO_I32` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | I32_TO_F32, F32_TO_I32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `F32ToI32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JMP_OVER_FUN` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | JMP_OVER_FUN, JMP_OUT_LOOP, JMP_TO_LOOP, JMP_LOOP_COND_FALSE, JMP_IF_COND_FALSE, JMP_OUT_IF_ELSE, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `JmpOverFun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JMP_OUT_LOOP` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | JMP_OVER_FUN, JMP_OUT_LOOP, JMP_TO_LOOP, JMP_LOOP_COND_FALSE, JMP_IF_COND_FALSE, JMP_OUT_IF_ELSE, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `JmpOutLoop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JMP_TO_LOOP` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | JMP_OVER_FUN, JMP_OUT_LOOP, JMP_TO_LOOP, JMP_LOOP_COND_FALSE, JMP_IF_COND_FALSE, JMP_OUT_IF_ELSE, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `JmpToLoop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JMP_LOOP_COND_FALSE` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 17 | JMP_OVER_FUN, JMP_OUT_LOOP, JMP_TO_LOOP, JMP_LOOP_COND_FALSE, JMP_IF_COND_FALSE, JMP_OUT_IF_ELSE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `JmpLoopCondFalse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JMP_IF_COND_FALSE` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:17:67 [INFO] [stdout] | [INFO] [stdout] 17 | JMP_OVER_FUN, JMP_OUT_LOOP, JMP_TO_LOOP, JMP_LOOP_COND_FALSE, JMP_IF_COND_FALSE, JMP_OUT_IF_ELSE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `JmpIfCondFalse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JMP_OUT_IF_ELSE` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:17:86 [INFO] [stdout] | [INFO] [stdout] 17 | JMP_OVER_FUN, JMP_OUT_LOOP, JMP_TO_LOOP, JMP_LOOP_COND_FALSE, JMP_IF_COND_FALSE, JMP_OUT_IF_ELSE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `JmpOutIfElse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PRINT_I32` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | PRINT_I32, PRINT_F32, PRINT_BOOL, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `PrintI32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PRINT_F32` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | PRINT_I32, PRINT_F32, PRINT_BOOL, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `PrintF32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PRINT_BOOL` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | PRINT_I32, PRINT_F32, PRINT_BOOL, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PrintBool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr_line` [INFO] [stdout] --> src/vm.rs:314:17 [INFO] [stdout] | [INFO] [stdout] 314 | let mut instr_line: usize = 0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instr_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vm.rs:314:13 [INFO] [stdout] | [INFO] [stdout] 314 | let mut instr_line: usize = 0; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/vm.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct Variable { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 24 | reference: usize, [INFO] [stdout] 25 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Variable` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/vm.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 43 | impl Vm { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 176 | fn print_u8_mem(label: &str, mem: &Vec, ptr: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | fn print_usize_mem(label: &str, mem: &Vec, ptr: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | fn print_u64_mem(label: &str, mem: &Vec, ptr: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn print_const_pool(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn print_instr_file(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn print_call_stack(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn print_eval_stack(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn print_var_stack(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn print_scope_stack(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vm.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Opcode` [INFO] [stdout] 4 | enum Opcode { [INFO] [stdout] | ------ `Opcode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `STORE_LOCAL` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | STORE_LOCAL, STORE_ARG, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `StoreLocal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `STORE_ARG` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | STORE_LOCAL, STORE_ARG, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `StoreArg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_VAL` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | LOAD_VAL, LOAD_LOCAL, LOAD_ARR, LOAD_LITERAL, LOAD_SCOPE, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LoadVal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_LOCAL` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | LOAD_VAL, LOAD_LOCAL, LOAD_ARR, LOAD_LITERAL, LOAD_SCOPE, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LoadLocal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_ARR` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | LOAD_VAL, LOAD_LOCAL, LOAD_ARR, LOAD_LITERAL, LOAD_SCOPE, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LoadArr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_LITERAL` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | LOAD_VAL, LOAD_LOCAL, LOAD_ARR, LOAD_LITERAL, LOAD_SCOPE, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LoadLiteral` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOAD_SCOPE` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | LOAD_VAL, LOAD_LOCAL, LOAD_ARR, LOAD_LITERAL, LOAD_SCOPE, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `LoadScope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F32_PLUS` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | F32_PLUS, F32_MINUS, F32_ADD, F32_SUB, F32_MUL, F32_DIV, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `F32Plus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F32_MINUS` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | F32_PLUS, F32_MINUS, F32_ADD, F32_SUB, F32_MUL, F32_DIV, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `F32Minus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F32_ADD` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | F32_PLUS, F32_MINUS, F32_ADD, F32_SUB, F32_MUL, F32_DIV, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `F32Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F32_SUB` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | F32_PLUS, F32_MINUS, F32_ADD, F32_SUB, F32_MUL, F32_DIV, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `F32Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F32_MUL` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | F32_PLUS, F32_MINUS, F32_ADD, F32_SUB, F32_MUL, F32_DIV, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `F32Mul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F32_DIV` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:7:53 [INFO] [stdout] | [INFO] [stdout] 7 | F32_PLUS, F32_MINUS, F32_ADD, F32_SUB, F32_MUL, F32_DIV, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `F32Div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `I32_PLUS` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | I32_PLUS, I32_MINUS, I32_ADD, I32_SUB, I32_MUL, I32_DIV, MOD, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `I32Plus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `I32_MINUS` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | I32_PLUS, I32_MINUS, I32_ADD, I32_SUB, I32_MUL, I32_DIV, MOD, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `I32Minus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `I32_ADD` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | I32_PLUS, I32_MINUS, I32_ADD, I32_SUB, I32_MUL, I32_DIV, MOD, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `I32Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `I32_SUB` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | I32_PLUS, I32_MINUS, I32_ADD, I32_SUB, I32_MUL, I32_DIV, MOD, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `I32Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `I32_MUL` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:8:44 [INFO] [stdout] | [INFO] [stdout] 8 | I32_PLUS, I32_MINUS, I32_ADD, I32_SUB, I32_MUL, I32_DIV, MOD, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `I32Mul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `I32_DIV` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:8:53 [INFO] [stdout] | [INFO] [stdout] 8 | I32_PLUS, I32_MINUS, I32_ADD, I32_SUB, I32_MUL, I32_DIV, MOD, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `I32Div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ART_SHR` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | SHL, ART_SHR, LOG_SHR, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `ArtShr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOG_SHR` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | SHL, ART_SHR, LOG_SHR, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `LogShr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BW_NOT` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | BW_NOT, BW_AND, BW_OR, BW_XOR, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `BwNot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BW_AND` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | BW_NOT, BW_AND, BW_OR, BW_XOR, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `BwAnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BW_OR` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | BW_NOT, BW_AND, BW_OR, BW_XOR, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `BwOr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BW_XOR` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | BW_NOT, BW_AND, BW_OR, BW_XOR, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `BwXor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOG_NOT` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | LOG_NOT, LOG_AND, LOG_OR, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `LogNot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOG_AND` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | LOG_NOT, LOG_AND, LOG_OR, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `LogAnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LOG_OR` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | LOG_NOT, LOG_AND, LOG_OR, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `LogOr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F32_GREATER` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | F32_GREATER, F32_LESS, F32_GEQ, F32_LEQ, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `F32Greater` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F32_LESS` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | F32_GREATER, F32_LESS, F32_GEQ, F32_LEQ, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `F32Less` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F32_GEQ` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | F32_GREATER, F32_LESS, F32_GEQ, F32_LEQ, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `F32Geq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F32_LEQ` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | F32_GREATER, F32_LESS, F32_GEQ, F32_LEQ, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `F32Leq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `I32_GREATER` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | I32_GREATER, I32_LESS, I32_GEQ, I32_LEQ, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `I32Greater` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `I32_LESS` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | I32_GREATER, I32_LESS, I32_GEQ, I32_LEQ, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `I32Less` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `I32_GEQ` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | I32_GREATER, I32_LESS, I32_GEQ, I32_LEQ, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `I32Geq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `I32_LEQ` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:13:37 [INFO] [stdout] | [INFO] [stdout] 13 | I32_GREATER, I32_LESS, I32_GEQ, I32_LEQ, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `I32Leq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `I32_TO_F32` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | I32_TO_F32, F32_TO_I32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `I32ToF32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `F32_TO_I32` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | I32_TO_F32, F32_TO_I32, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `F32ToI32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JMP_OVER_FUN` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | JMP_OVER_FUN, JMP_OUT_LOOP, JMP_TO_LOOP, JMP_LOOP_COND_FALSE, JMP_IF_COND_FALSE, JMP_OUT_IF_ELSE, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `JmpOverFun` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JMP_OUT_LOOP` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | JMP_OVER_FUN, JMP_OUT_LOOP, JMP_TO_LOOP, JMP_LOOP_COND_FALSE, JMP_IF_COND_FALSE, JMP_OUT_IF_ELSE, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `JmpOutLoop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JMP_TO_LOOP` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | JMP_OVER_FUN, JMP_OUT_LOOP, JMP_TO_LOOP, JMP_LOOP_COND_FALSE, JMP_IF_COND_FALSE, JMP_OUT_IF_ELSE, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `JmpToLoop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JMP_LOOP_COND_FALSE` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 17 | JMP_OVER_FUN, JMP_OUT_LOOP, JMP_TO_LOOP, JMP_LOOP_COND_FALSE, JMP_IF_COND_FALSE, JMP_OUT_IF_ELSE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `JmpLoopCondFalse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JMP_IF_COND_FALSE` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:17:67 [INFO] [stdout] | [INFO] [stdout] 17 | JMP_OVER_FUN, JMP_OUT_LOOP, JMP_TO_LOOP, JMP_LOOP_COND_FALSE, JMP_IF_COND_FALSE, JMP_OUT_IF_ELSE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `JmpIfCondFalse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JMP_OUT_IF_ELSE` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:17:86 [INFO] [stdout] | [INFO] [stdout] 17 | JMP_OVER_FUN, JMP_OUT_LOOP, JMP_TO_LOOP, JMP_LOOP_COND_FALSE, JMP_IF_COND_FALSE, JMP_OUT_IF_ELSE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `JmpOutIfElse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PRINT_I32` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | PRINT_I32, PRINT_F32, PRINT_BOOL, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `PrintI32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PRINT_F32` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | PRINT_I32, PRINT_F32, PRINT_BOOL, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `PrintF32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PRINT_BOOL` should have an upper camel case name [INFO] [stdout] --> src/vm.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | PRINT_I32, PRINT_F32, PRINT_BOOL, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `PrintBool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr_line` [INFO] [stdout] --> src/vm.rs:314:17 [INFO] [stdout] | [INFO] [stdout] 314 | let mut instr_line: usize = 0; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instr_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/vm.rs:314:13 [INFO] [stdout] | [INFO] [stdout] 314 | let mut instr_line: usize = 0; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size` is never read [INFO] [stdout] --> src/vm.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct Variable { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 24 | reference: usize, [INFO] [stdout] 25 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Variable` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/vm.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 43 | impl Vm { [INFO] [stdout] | ------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 176 | fn print_u8_mem(label: &str, mem: &Vec, ptr: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | fn print_usize_mem(label: &str, mem: &Vec, ptr: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 200 | fn print_u64_mem(label: &str, mem: &Vec, ptr: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub fn print_const_pool(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn print_instr_file(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn print_call_stack(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn print_eval_stack(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | pub fn print_var_stack(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn print_scope_stack(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/vm.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Opcode` [INFO] [stdout] 4 | enum Opcode { [INFO] [stdout] | ------ `Opcode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.21s [INFO] running `Command { std: "docker" "inspect" "4ec6946fd2abbf7fff35b2d134444e46e04ea5cc589984dd43c9438b5e985138", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ec6946fd2abbf7fff35b2d134444e46e04ea5cc589984dd43c9438b5e985138", kill_on_drop: false }` [INFO] [stdout] 4ec6946fd2abbf7fff35b2d134444e46e04ea5cc589984dd43c9438b5e985138