[INFO] fetching crate resurgence 0.1.8... [INFO] checking resurgence-0.1.8 against master#8424f8e8cdf07010967a57584fd647b30e930d4d for pr-120095 [INFO] extracting crate resurgence 0.1.8 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate resurgence 0.1.8 on toolchain 8424f8e8cdf07010967a57584fd647b30e930d4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate resurgence 0.1.8 [INFO] finished tweaking crates.io crate resurgence 0.1.8 [INFO] tweaked toml for crates.io crate resurgence 0.1.8 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fcd03a20428e2ac99431220eff670db189c344617412492ca41037d4087ce68 [INFO] running `Command { std: "docker" "start" "-a" "6fcd03a20428e2ac99431220eff670db189c344617412492ca41037d4087ce68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fcd03a20428e2ac99431220eff670db189c344617412492ca41037d4087ce68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fcd03a20428e2ac99431220eff670db189c344617412492ca41037d4087ce68", kill_on_drop: false }` [INFO] [stdout] 6fcd03a20428e2ac99431220eff670db189c344617412492ca41037d4087ce68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51df80b917071ec18e4242f0c4f10e5c4faf21d481ca34a45ce9b740e6371eaf [INFO] running `Command { std: "docker" "start" "-a" "51df80b917071ec18e4242f0c4f10e5c4faf21d481ca34a45ce9b740e6371eaf", kill_on_drop: false }` [INFO] [stderr] Checking resurgence v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `create_constant_double` [INFO] [stdout] --> src/internal/interpreter/instruction/math.rs:1:105 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Interpreter, objects::register::{Register, RegisterLocation}, objects::constant::{Constant, create_constant_double}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_constant_double` [INFO] [stdout] --> src/internal/interpreter/instruction/math.rs:1:105 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Interpreter, objects::register::{Register, RegisterLocation}, objects::constant::{Constant, create_constant_double}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/objects/instruction.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Instruction { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 25 | Alloc(u32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | Free(u32), [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | Jump(i64), [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | Call(u64), [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | ExtCall(u64), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | [INFO] [stdout] 31 | Mov(Register, RegisterReference, Register, RegisterReference), [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | Cpy(Register, RegisterReference, Register, RegisterReference), [INFO] [stdout] | ^^^ [INFO] [stdout] 33 | Ref(Register, RegisterReference, Register, RegisterReference), [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | [INFO] [stdout] 35 | StackPush(Register, RegisterReference), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | StackPop, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | [INFO] [stdout] 38 | Add(Register, Register, Register), [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | Sub(Register, Register, Register), [INFO] [stdout] | ^^^ [INFO] [stdout] 40 | Mul(Register, Register, Register), [INFO] [stdout] | ^^^ [INFO] [stdout] 41 | Div(Register, Register, Register), [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | [INFO] [stdout] 43 | Equal(Register, Register), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | NotEqual(Register, Register), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 45 | Greater(Register, Register), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | Less(Register, Register), [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | GreaterEqual(Register, Register), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 48 | LessEqual(Register, Register), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_constant_int` is never used [INFO] [stdout] --> src/objects/constant.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn create_constant_int(init_val: &i64) -> Constant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_constant_string` is never used [INFO] [stdout] --> src/objects/constant.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn create_constant_string(init_val: &str) -> Constant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_constant_bool` is never used [INFO] [stdout] --> src/objects/constant.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn create_constant_bool(init_val: &bool) -> Constant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeBuilder` is never constructed [INFO] [stdout] --> src/api/level_1/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct CodeBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `generate_alloc`, `generate_free`, `generate_jump`, and `generate_call` are never used [INFO] [stdout] --> src/api/level_1/generate_instruction.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl CodeBuilder<'_> { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 6 | pub fn generate_alloc(&mut self, block_count: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub fn generate_free(&mut self, block_count: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn generate_jump(&mut self, operation_count: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn generate_call(&mut self, function_addr: &String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_label` is never used [INFO] [stdout] --> src/api/level_1/abstraction.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl CodeBuilder<'_> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 4 | pub fn create_label(&mut self, name: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/objects/instruction.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Instruction { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 25 | Alloc(u32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | Free(u32), [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | Jump(i64), [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | Call(u64), [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | ExtCall(u64), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | [INFO] [stdout] 31 | Mov(Register, RegisterReference, Register, RegisterReference), [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | Cpy(Register, RegisterReference, Register, RegisterReference), [INFO] [stdout] | ^^^ [INFO] [stdout] 33 | Ref(Register, RegisterReference, Register, RegisterReference), [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | [INFO] [stdout] 35 | StackPush(Register, RegisterReference), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | StackPop, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | [INFO] [stdout] 38 | Add(Register, Register, Register), [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | Sub(Register, Register, Register), [INFO] [stdout] | ^^^ [INFO] [stdout] 40 | Mul(Register, Register, Register), [INFO] [stdout] | ^^^ [INFO] [stdout] 41 | Div(Register, Register, Register), [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | [INFO] [stdout] 43 | Equal(Register, Register), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | NotEqual(Register, Register), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 45 | Greater(Register, Register), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | Less(Register, Register), [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | GreaterEqual(Register, Register), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 48 | LessEqual(Register, Register), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeBuilder` is never constructed [INFO] [stdout] --> src/api/level_1/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct CodeBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `generate_alloc`, `generate_free`, `generate_jump`, and `generate_call` are never used [INFO] [stdout] --> src/api/level_1/generate_instruction.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl CodeBuilder<'_> { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 6 | pub fn generate_alloc(&mut self, block_count: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub fn generate_free(&mut self, block_count: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn generate_jump(&mut self, operation_count: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn generate_call(&mut self, function_addr: &String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_label` is never used [INFO] [stdout] --> src/api/level_1/abstraction.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl CodeBuilder<'_> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 4 | pub fn create_label(&mut self, name: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.09s [INFO] running `Command { std: "docker" "inspect" "51df80b917071ec18e4242f0c4f10e5c4faf21d481ca34a45ce9b740e6371eaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51df80b917071ec18e4242f0c4f10e5c4faf21d481ca34a45ce9b740e6371eaf", kill_on_drop: false }` [INFO] [stdout] 51df80b917071ec18e4242f0c4f10e5c4faf21d481ca34a45ce9b740e6371eaf [INFO] checking resurgence-0.1.8 against try#047472f299946caf090d1b5608ae4bd9f0416256+rustflags=-Ddereferencing_mut_binding for pr-120095 [INFO] extracting crate resurgence 0.1.8 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate resurgence 0.1.8 on toolchain 047472f299946caf090d1b5608ae4bd9f0416256 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate resurgence 0.1.8 [INFO] finished tweaking crates.io crate resurgence 0.1.8 [INFO] tweaked toml for crates.io crate resurgence 0.1.8 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a6ec76f0562d9862e6f396ae9cdd0890b489a87e2ef31a4d2bb60df7e41ee9a [INFO] running `Command { std: "docker" "start" "-a" "9a6ec76f0562d9862e6f396ae9cdd0890b489a87e2ef31a4d2bb60df7e41ee9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a6ec76f0562d9862e6f396ae9cdd0890b489a87e2ef31a4d2bb60df7e41ee9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a6ec76f0562d9862e6f396ae9cdd0890b489a87e2ef31a4d2bb60df7e41ee9a", kill_on_drop: false }` [INFO] [stdout] 9a6ec76f0562d9862e6f396ae9cdd0890b489a87e2ef31a4d2bb60df7e41ee9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Ddereferencing_mut_binding" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bd9a9340a6fe26d181fa7fe46a862a868d11aa287b0d14bb72078b4f7f0cdd4f [INFO] running `Command { std: "docker" "start" "-a" "bd9a9340a6fe26d181fa7fe46a862a868d11aa287b0d14bb72078b4f7f0cdd4f", kill_on_drop: false }` [INFO] [stderr] Checking resurgence v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `create_constant_double` [INFO] [stdout] --> src/internal/interpreter/instruction/math.rs:1:105 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Interpreter, objects::register::{Register, RegisterLocation}, objects::constant::{Constant, create_constant_double}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_constant_double` [INFO] [stdout] --> src/internal/interpreter/instruction/math.rs:1:105 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{Interpreter, objects::register::{Register, RegisterLocation}, objects::constant::{Constant, create_constant_double}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/internal/interpreter/instruction/mov.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | let Register(mut dst_index, mut dst_loc) = dst_reg; [INFO] [stdout] | ^^^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/internal/interpreter/instruction/mov.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | let Register(mut dst_index, mut dst_loc) = dst_reg; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: requested on the command line with `-D dereferencing-mut-binding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/internal/interpreter/instruction/mov.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | let Register(mut dst_index, mut dst_loc) = dst_reg; [INFO] [stdout] | ^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/internal/interpreter/instruction/mov.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | let Register(mut dst_index, mut dst_loc) = dst_reg; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/internal/interpreter/instruction/mov.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let Register(mut src_index, mut src_loc) = src_reg; [INFO] [stdout] | ^^^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/internal/interpreter/instruction/mov.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let Register(mut src_index, mut src_loc) = src_reg; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/internal/interpreter/instruction/mov.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | let Register(mut src_index, mut src_loc) = src_reg; [INFO] [stdout] | ^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/internal/interpreter/instruction/mov.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | let Register(mut src_index, mut src_loc) = src_reg; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/internal/interpreter/instruction/cpy.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | let Register(mut dst_index, mut dst_loc) = dst_reg; [INFO] [stdout] | ^^^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/internal/interpreter/instruction/cpy.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | let Register(mut dst_index, mut dst_loc) = dst_reg; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/internal/interpreter/instruction/cpy.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | let Register(mut dst_index, mut dst_loc) = dst_reg; [INFO] [stdout] | ^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/internal/interpreter/instruction/cpy.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | let Register(mut dst_index, mut dst_loc) = dst_reg; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/internal/interpreter/instruction/cpy.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let Register(mut src_index, mut src_loc) = src_reg; [INFO] [stdout] | ^^^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/internal/interpreter/instruction/cpy.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let Register(mut src_index, mut src_loc) = src_reg; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/internal/interpreter/instruction/cpy.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | let Register(mut src_index, mut src_loc) = src_reg; [INFO] [stdout] | ^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/internal/interpreter/instruction/cpy.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | let Register(mut src_index, mut src_loc) = src_reg; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/internal/interpreter/instruction/ref_reg.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | let Register(mut dst_index, mut dst_loc) = dst_reg; [INFO] [stdout] | ^^^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/internal/interpreter/instruction/ref_reg.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | let Register(mut dst_index, mut dst_loc) = dst_reg; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/internal/interpreter/instruction/ref_reg.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | let Register(mut dst_index, mut dst_loc) = dst_reg; [INFO] [stdout] | ^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/internal/interpreter/instruction/ref_reg.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | let Register(mut dst_index, mut dst_loc) = dst_reg; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/internal/interpreter/instruction/stk_push.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | let Register(mut reg_index, mut reg_loc) = register; let mut reg_index_usize = reg_index as usize; [INFO] [stdout] | ^^^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/internal/interpreter/instruction/stk_push.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | let Register(mut reg_index, mut reg_loc) = register; let mut reg_index_usize = reg_index as usize; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/internal/interpreter/instruction/stk_push.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | let Register(mut reg_index, mut reg_loc) = register; let mut reg_index_usize = reg_index as usize; [INFO] [stdout] | ^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/internal/interpreter/instruction/stk_push.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | let Register(mut reg_index, mut reg_loc) = register; let mut reg_index_usize = reg_index as usize; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/internal/interpreter/instruction/mov.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | let Register(mut dst_index, mut dst_loc) = dst_reg; [INFO] [stdout] | ^^^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/internal/interpreter/instruction/mov.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | let Register(mut dst_index, mut dst_loc) = dst_reg; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: requested on the command line with `-D dereferencing-mut-binding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/internal/interpreter/instruction/mov.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | let Register(mut dst_index, mut dst_loc) = dst_reg; [INFO] [stdout] | ^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/internal/interpreter/instruction/mov.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | let Register(mut dst_index, mut dst_loc) = dst_reg; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/internal/interpreter/instruction/mov.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let Register(mut src_index, mut src_loc) = src_reg; [INFO] [stdout] | ^^^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/internal/interpreter/instruction/mov.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let Register(mut src_index, mut src_loc) = src_reg; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/internal/interpreter/instruction/mov.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | let Register(mut src_index, mut src_loc) = src_reg; [INFO] [stdout] | ^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/internal/interpreter/instruction/mov.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | let Register(mut src_index, mut src_loc) = src_reg; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/internal/interpreter/instruction/cpy.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | let Register(mut dst_index, mut dst_loc) = dst_reg; [INFO] [stdout] | ^^^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/internal/interpreter/instruction/cpy.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | let Register(mut dst_index, mut dst_loc) = dst_reg; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/internal/interpreter/instruction/cpy.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | let Register(mut dst_index, mut dst_loc) = dst_reg; [INFO] [stdout] | ^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/internal/interpreter/instruction/cpy.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | let Register(mut dst_index, mut dst_loc) = dst_reg; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/internal/interpreter/instruction/cpy.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let Register(mut src_index, mut src_loc) = src_reg; [INFO] [stdout] | ^^^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/internal/interpreter/instruction/cpy.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let Register(mut src_index, mut src_loc) = src_reg; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/internal/interpreter/instruction/cpy.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | let Register(mut src_index, mut src_loc) = src_reg; [INFO] [stdout] | ^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/internal/interpreter/instruction/cpy.rs:18:37 [INFO] [stdout] | [INFO] [stdout] 18 | let Register(mut src_index, mut src_loc) = src_reg; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/internal/interpreter/instruction/ref_reg.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | let Register(mut dst_index, mut dst_loc) = dst_reg; [INFO] [stdout] | ^^^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/internal/interpreter/instruction/ref_reg.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | let Register(mut dst_index, mut dst_loc) = dst_reg; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/internal/interpreter/instruction/ref_reg.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | let Register(mut dst_index, mut dst_loc) = dst_reg; [INFO] [stdout] | ^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/internal/interpreter/instruction/ref_reg.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | let Register(mut dst_index, mut dst_loc) = dst_reg; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/internal/interpreter/instruction/stk_push.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | let Register(mut reg_index, mut reg_loc) = register; let mut reg_index_usize = reg_index as usize; [INFO] [stdout] | ^^^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/internal/interpreter/instruction/stk_push.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | let Register(mut reg_index, mut reg_loc) = register; let mut reg_index_usize = reg_index as usize; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/internal/interpreter/instruction/stk_push.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | let Register(mut reg_index, mut reg_loc) = register; let mut reg_index_usize = reg_index as usize; [INFO] [stdout] | ^^^^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/internal/interpreter/instruction/stk_push.rs:6:37 [INFO] [stdout] | [INFO] [stdout] 6 | let Register(mut reg_index, mut reg_loc) = register; let mut reg_index_usize = reg_index as usize; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/objects/instruction.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Instruction { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 25 | Alloc(u32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | Free(u32), [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | Jump(i64), [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | Call(u64), [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | ExtCall(u64), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | [INFO] [stdout] 31 | Mov(Register, RegisterReference, Register, RegisterReference), [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | Cpy(Register, RegisterReference, Register, RegisterReference), [INFO] [stdout] | ^^^ [INFO] [stdout] 33 | Ref(Register, RegisterReference, Register, RegisterReference), [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | [INFO] [stdout] 35 | StackPush(Register, RegisterReference), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | StackPop, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | [INFO] [stdout] 38 | Add(Register, Register, Register), [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | Sub(Register, Register, Register), [INFO] [stdout] | ^^^ [INFO] [stdout] 40 | Mul(Register, Register, Register), [INFO] [stdout] | ^^^ [INFO] [stdout] 41 | Div(Register, Register, Register), [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | [INFO] [stdout] 43 | Equal(Register, Register), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | NotEqual(Register, Register), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 45 | Greater(Register, Register), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | Less(Register, Register), [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | GreaterEqual(Register, Register), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 48 | LessEqual(Register, Register), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_constant_int` is never used [INFO] [stdout] --> src/objects/constant.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn create_constant_int(init_val: &i64) -> Constant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_constant_string` is never used [INFO] [stdout] --> src/objects/constant.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn create_constant_string(init_val: &str) -> Constant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_constant_bool` is never used [INFO] [stdout] --> src/objects/constant.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn create_constant_bool(init_val: &bool) -> Constant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeBuilder` is never constructed [INFO] [stdout] --> src/api/level_1/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct CodeBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `generate_alloc`, `generate_free`, `generate_jump`, and `generate_call` are never used [INFO] [stdout] --> src/api/level_1/generate_instruction.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl CodeBuilder<'_> { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 6 | pub fn generate_alloc(&mut self, block_count: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub fn generate_free(&mut self, block_count: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn generate_jump(&mut self, operation_count: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn generate_call(&mut self, function_addr: &String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_label` is never used [INFO] [stdout] --> src/api/level_1/abstraction.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl CodeBuilder<'_> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 4 | pub fn create_label(&mut self, name: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/objects/instruction.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub enum Instruction { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 25 | Alloc(u32), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | Free(u32), [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | Jump(i64), [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | Call(u64), [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | ExtCall(u64), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | [INFO] [stdout] 31 | Mov(Register, RegisterReference, Register, RegisterReference), [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | Cpy(Register, RegisterReference, Register, RegisterReference), [INFO] [stdout] | ^^^ [INFO] [stdout] 33 | Ref(Register, RegisterReference, Register, RegisterReference), [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | [INFO] [stdout] 35 | StackPush(Register, RegisterReference), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | StackPop, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | [INFO] [stdout] 38 | Add(Register, Register, Register), [INFO] [stdout] | ^^^ [INFO] [stdout] 39 | Sub(Register, Register, Register), [INFO] [stdout] | ^^^ [INFO] [stdout] 40 | Mul(Register, Register, Register), [INFO] [stdout] | ^^^ [INFO] [stdout] 41 | Div(Register, Register, Register), [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | [INFO] [stdout] 43 | Equal(Register, Register), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 44 | NotEqual(Register, Register), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 45 | Greater(Register, Register), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 46 | Less(Register, Register), [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | GreaterEqual(Register, Register), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 48 | LessEqual(Register, Register), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CodeBuilder` is never constructed [INFO] [stdout] --> src/api/level_1/mod.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct CodeBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `generate_alloc`, `generate_free`, `generate_jump`, and `generate_call` are never used [INFO] [stdout] --> src/api/level_1/generate_instruction.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 5 | impl CodeBuilder<'_> { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 6 | pub fn generate_alloc(&mut self, block_count: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub fn generate_free(&mut self, block_count: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn generate_jump(&mut self, operation_count: i64) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn generate_call(&mut self, function_addr: &String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_label` is never used [INFO] [stdout] --> src/api/level_1/abstraction.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl CodeBuilder<'_> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] 4 | pub fn create_label(&mut self, name: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `resurgence` (lib) due to 13 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 12 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `resurgence` (lib test) due to 13 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bd9a9340a6fe26d181fa7fe46a862a868d11aa287b0d14bb72078b4f7f0cdd4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd9a9340a6fe26d181fa7fe46a862a868d11aa287b0d14bb72078b4f7f0cdd4f", kill_on_drop: false }` [INFO] [stdout] bd9a9340a6fe26d181fa7fe46a862a868d11aa287b0d14bb72078b4f7f0cdd4f