[INFO] cloning repository https://github.com/SapphireAmoeba5/compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SapphireAmoeba5/compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSapphireAmoeba5%2Fcompiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSapphireAmoeba5%2Fcompiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7de34335d6630ccdbfe8b30d61f2f748ebd6655 [INFO] building SapphireAmoeba5/compiler against master#d59f06fc64844ec2073e5e888f7470989ef25ff9 for pr-119440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSapphireAmoeba5%2Fcompiler" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SapphireAmoeba5/compiler on toolchain d59f06fc64844ec2073e5e888f7470989ef25ff9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SapphireAmoeba5/compiler [INFO] finished tweaking git repo https://github.com/SapphireAmoeba5/compiler [INFO] tweaked toml for git repo https://github.com/SapphireAmoeba5/compiler written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SapphireAmoeba5/compiler 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" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] building SapphireAmoeba5/compiler against try#fe8f664b41f030f307cfeb6cb8c3a1419292aeed for pr-119440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSapphireAmoeba5%2Fcompiler" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SapphireAmoeba5/compiler on toolchain fe8f664b41f030f307cfeb6cb8c3a1419292aeed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SapphireAmoeba5/compiler [INFO] finished tweaking git repo https://github.com/SapphireAmoeba5/compiler [INFO] tweaked toml for git repo https://github.com/SapphireAmoeba5/compiler written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SapphireAmoeba5/compiler 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" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "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 clap_derive v3.1.2 [INFO] [stderr] Downloaded clap v3.1.2 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b0647680812a763f098cf4582b38c06b1de18d918659173939c1b5de68b699d [INFO] running `Command { std: "docker" "start" "-a" "4b0647680812a763f098cf4582b38c06b1de18d918659173939c1b5de68b699d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b0647680812a763f098cf4582b38c06b1de18d918659173939c1b5de68b699d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b0647680812a763f098cf4582b38c06b1de18d918659173939c1b5de68b699d", kill_on_drop: false }` [INFO] [stdout] 4b0647680812a763f098cf4582b38c06b1de18d918659173939c1b5de68b699d [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1032448fa9de484177e49ea7507e04d077882e039a3edce8cc1c081b46858554 [INFO] running `Command { std: "docker" "start" "-a" "1032448fa9de484177e49ea7507e04d077882e039a3edce8cc1c081b46858554", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap_derive v3.1.2 [INFO] [stderr] Compiling clap v3.1.2 [INFO] [stderr] Compiling compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Instruction` [INFO] [stdout] --> src/compiler/generator/block.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::operation::{Instruction, Operation}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info_println_if`, `info_println` [INFO] [stdout] --> src/compiler/generator.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{debug_println, error_println, info_println, info_println_if}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/compiler/generator.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug_println`, `error_println`, `info_println_if`, `info_println`, `warn_println` [INFO] [stdout] --> src/compiler/lexer/split.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{debug_println, error_println, info_println, info_println_if, warn_println}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug_println`, `info_println`, `operation::*` [INFO] [stdout] --> src/compiler/lexer/try_parse.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{debug_println, error_println, info_println, operation::*, warn_println}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug_println`, `info_println`, `warn_println` [INFO] [stdout] --> src/compiler/lexer.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{debug_println, error_println, info_println, operation::*, warn_println}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt::Debug`, `mem::replace` [INFO] [stdout] --> src/compiler/lexer.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{fmt::Debug, mem::replace}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug_println`, `info_println_if` [INFO] [stdout] --> src/compiler.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{debug_println, error_println, info_println, info_println_if}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug_println`, `info_println_if`, `info_println` [INFO] [stdout] --> src/interpreter.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{debug_println, error_println, info_println, info_println_if}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:402:28 [INFO] [stdout] | [INFO] [stdout] 402 | fn asm_dump(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:413:28 [INFO] [stdout] | [INFO] [stdout] 413 | fn asm_dupe(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:420:27 [INFO] [stdout] | [INFO] [stdout] 420 | fn asm_pop(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:427:28 [INFO] [stdout] | [INFO] [stdout] 427 | fn asm_swap(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:437:28 [INFO] [stdout] | [INFO] [stdout] 437 | fn asm_over(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:444:27 [INFO] [stdout] | [INFO] [stdout] 444 | fn asm_rot(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:456:28 [INFO] [stdout] | [INFO] [stdout] 456 | fn asm_putc(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:464:28 [INFO] [stdout] | [INFO] [stdout] 464 | fn asm_puts(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:472:30 [INFO] [stdout] | [INFO] [stdout] 472 | fn asm_strlen(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:481:27 [INFO] [stdout] | [INFO] [stdout] 481 | fn asm_add(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:491:27 [INFO] [stdout] | [INFO] [stdout] 491 | fn asm_sub(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:501:27 [INFO] [stdout] | [INFO] [stdout] 501 | fn asm_mul(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:511:27 [INFO] [stdout] | [INFO] [stdout] 511 | fn asm_div(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:522:27 [INFO] [stdout] | [INFO] [stdout] 522 | fn asm_mod(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:533:26 [INFO] [stdout] | [INFO] [stdout] 533 | fn asm_eq(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:545:36 [INFO] [stdout] | [INFO] [stdout] 545 | fn asm_greater_than(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:557:39 [INFO] [stdout] | [INFO] [stdout] 557 | fn asm_greater_than_eq(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:569:33 [INFO] [stdout] | [INFO] [stdout] 569 | fn asm_less_than(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:581:36 [INFO] [stdout] | [INFO] [stdout] 581 | fn asm_less_than_eq(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:593:35 [INFO] [stdout] | [INFO] [stdout] 593 | fn asm_bitwise_not(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:602:35 [INFO] [stdout] | [INFO] [stdout] 602 | fn asm_bitwise_and(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:612:34 [INFO] [stdout] | [INFO] [stdout] 612 | fn asm_bitwise_or(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:622:35 [INFO] [stdout] | [INFO] [stdout] 622 | fn asm_bitwise_xor(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:632:27 [INFO] [stdout] | [INFO] [stdout] 632 | fn asm_not(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:643:27 [INFO] [stdout] | [INFO] [stdout] 643 | fn asm_and(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:669:26 [INFO] [stdout] | [INFO] [stdout] 669 | fn asm_or(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:691:26 [INFO] [stdout] | [INFO] [stdout] 691 | fn asm_if(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:706:29 [INFO] [stdout] | [INFO] [stdout] 706 | fn asm_while(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:719:26 [INFO] [stdout] | [INFO] [stdout] 719 | fn asm_do(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:747:28 [INFO] [stdout] | [INFO] [stdout] 747 | fn asm_else(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:805:28 [INFO] [stdout] | [INFO] [stdout] 805 | fn asm_func(&mut self, instr: &Instruction, iter: &mut Iter) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:934:36 [INFO] [stdout] | [INFO] [stdout] 934 | fn asm_end_function(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:962:33 [INFO] [stdout] | [INFO] [stdout] 962 | fn asm_end_while(&mut self, instr: &Instruction, block: &Block) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:976:30 [INFO] [stdout] | [INFO] [stdout] 976 | fn asm_end_if(&mut self, instr: &Instruction, block: &Block) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_function` [INFO] [stdout] --> src/interpreter.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | let mut current_function: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/interpreter.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let mut current_function: Option = None; [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: unused variable: `result` [INFO] [stdout] --> src/main.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let result = s.interpret(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> src/operation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Operation { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 3 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.32s [INFO] running `Command { std: "docker" "inspect" "1032448fa9de484177e49ea7507e04d077882e039a3edce8cc1c081b46858554", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1032448fa9de484177e49ea7507e04d077882e039a3edce8cc1c081b46858554", kill_on_drop: false }` [INFO] [stdout] 1032448fa9de484177e49ea7507e04d077882e039a3edce8cc1c081b46858554 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9834ebcbb1533e6a5ea9db4892675c4bac6a5e51a336c1be1f7cc2a6ff06189 [INFO] running `Command { std: "docker" "start" "-a" "e9834ebcbb1533e6a5ea9db4892675c4bac6a5e51a336c1be1f7cc2a6ff06189", kill_on_drop: false }` [INFO] [stderr] Compiling compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Instruction` [INFO] [stdout] --> src/compiler/generator/block.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::operation::{Instruction, Operation}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info_println_if`, `info_println` [INFO] [stdout] --> src/compiler/generator.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{debug_println, error_println, info_println, info_println_if}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/compiler/generator.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug_println`, `error_println`, `info_println_if`, `info_println`, `warn_println` [INFO] [stdout] --> src/compiler/lexer/split.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{debug_println, error_println, info_println, info_println_if, warn_println}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug_println`, `info_println`, `operation::*` [INFO] [stdout] --> src/compiler/lexer/try_parse.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{debug_println, error_println, info_println, operation::*, warn_println}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug_println`, `info_println`, `warn_println` [INFO] [stdout] --> src/compiler/lexer.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{debug_println, error_println, info_println, operation::*, warn_println}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt::Debug`, `mem::replace` [INFO] [stdout] --> src/compiler/lexer.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{fmt::Debug, mem::replace}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug_println`, `info_println_if` [INFO] [stdout] --> src/compiler.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::{debug_println, error_println, info_println, info_println_if}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug_println`, `info_println_if`, `info_println` [INFO] [stdout] --> src/interpreter.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{debug_println, error_println, info_println, info_println_if}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:402:28 [INFO] [stdout] | [INFO] [stdout] 402 | fn asm_dump(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:413:28 [INFO] [stdout] | [INFO] [stdout] 413 | fn asm_dupe(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:420:27 [INFO] [stdout] | [INFO] [stdout] 420 | fn asm_pop(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:427:28 [INFO] [stdout] | [INFO] [stdout] 427 | fn asm_swap(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:437:28 [INFO] [stdout] | [INFO] [stdout] 437 | fn asm_over(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:444:27 [INFO] [stdout] | [INFO] [stdout] 444 | fn asm_rot(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:456:28 [INFO] [stdout] | [INFO] [stdout] 456 | fn asm_putc(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:464:28 [INFO] [stdout] | [INFO] [stdout] 464 | fn asm_puts(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:472:30 [INFO] [stdout] | [INFO] [stdout] 472 | fn asm_strlen(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:481:27 [INFO] [stdout] | [INFO] [stdout] 481 | fn asm_add(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:491:27 [INFO] [stdout] | [INFO] [stdout] 491 | fn asm_sub(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:501:27 [INFO] [stdout] | [INFO] [stdout] 501 | fn asm_mul(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:511:27 [INFO] [stdout] | [INFO] [stdout] 511 | fn asm_div(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:522:27 [INFO] [stdout] | [INFO] [stdout] 522 | fn asm_mod(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:533:26 [INFO] [stdout] | [INFO] [stdout] 533 | fn asm_eq(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:545:36 [INFO] [stdout] | [INFO] [stdout] 545 | fn asm_greater_than(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:557:39 [INFO] [stdout] | [INFO] [stdout] 557 | fn asm_greater_than_eq(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:569:33 [INFO] [stdout] | [INFO] [stdout] 569 | fn asm_less_than(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:581:36 [INFO] [stdout] | [INFO] [stdout] 581 | fn asm_less_than_eq(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:593:35 [INFO] [stdout] | [INFO] [stdout] 593 | fn asm_bitwise_not(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:602:35 [INFO] [stdout] | [INFO] [stdout] 602 | fn asm_bitwise_and(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:612:34 [INFO] [stdout] | [INFO] [stdout] 612 | fn asm_bitwise_or(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:622:35 [INFO] [stdout] | [INFO] [stdout] 622 | fn asm_bitwise_xor(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:632:27 [INFO] [stdout] | [INFO] [stdout] 632 | fn asm_not(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:643:27 [INFO] [stdout] | [INFO] [stdout] 643 | fn asm_and(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:669:26 [INFO] [stdout] | [INFO] [stdout] 669 | fn asm_or(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:691:26 [INFO] [stdout] | [INFO] [stdout] 691 | fn asm_if(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:706:29 [INFO] [stdout] | [INFO] [stdout] 706 | fn asm_while(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:719:26 [INFO] [stdout] | [INFO] [stdout] 719 | fn asm_do(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:747:28 [INFO] [stdout] | [INFO] [stdout] 747 | fn asm_else(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:805:28 [INFO] [stdout] | [INFO] [stdout] 805 | fn asm_func(&mut self, instr: &Instruction, iter: &mut Iter) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:934:36 [INFO] [stdout] | [INFO] [stdout] 934 | fn asm_end_function(&mut self, instr: &Instruction) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:962:33 [INFO] [stdout] | [INFO] [stdout] 962 | fn asm_end_while(&mut self, instr: &Instruction, block: &Block) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instr` [INFO] [stdout] --> src/compiler/generator.rs:976:30 [INFO] [stdout] | [INFO] [stdout] 976 | fn asm_end_if(&mut self, instr: &Instruction, block: &Block) -> Result<(), ()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_instr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_function` [INFO] [stdout] --> src/interpreter.rs:169:17 [INFO] [stdout] | [INFO] [stdout] 169 | let mut current_function: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_function` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/interpreter.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let mut current_function: Option = None; [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: unused variable: `result` [INFO] [stdout] --> src/main.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let result = s.interpret(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `None` is never constructed [INFO] [stdout] --> src/operation.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Operation { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 3 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 47 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.33s [INFO] running `Command { std: "docker" "inspect" "e9834ebcbb1533e6a5ea9db4892675c4bac6a5e51a336c1be1f7cc2a6ff06189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9834ebcbb1533e6a5ea9db4892675c4bac6a5e51a336c1be1f7cc2a6ff06189", kill_on_drop: false }` [INFO] [stdout] e9834ebcbb1533e6a5ea9db4892675c4bac6a5e51a336c1be1f7cc2a6ff06189