[INFO] cloning repository https://github.com/Nimrodium/ns-ir [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nimrodium/ns-ir" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNimrodium%2Fns-ir", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNimrodium%2Fns-ir'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c05ad0387ef9808b5ab5cfeeb64feb28446e088 [INFO] checking Nimrodium/ns-ir against try#5ff93158e08fa2205cd4b86cddf9eae95952cc96 for pr-129543-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNimrodium%2Fns-ir" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Nimrodium/ns-ir [INFO] finished tweaking git repo https://github.com/Nimrodium/ns-ir [INFO] tweaked toml for git repo https://github.com/Nimrodium/ns-ir written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Nimrodium/ns-ir on toolchain 5ff93158e08fa2205cd4b86cddf9eae95952cc96 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Nimrodium/ns-ir 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" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking Nimrodium/ns-ir against try#5ff93158e08fa2205cd4b86cddf9eae95952cc96 for pr-129543-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNimrodium%2Fns-ir" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Nimrodium/ns-ir [INFO] finished tweaking git repo https://github.com/Nimrodium/ns-ir [INFO] tweaked toml for git repo https://github.com/Nimrodium/ns-ir written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Nimrodium/ns-ir on toolchain 5ff93158e08fa2205cd4b86cddf9eae95952cc96 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Nimrodium/ns-ir 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" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41bf59be502144bf9f8f5c3552064f5d8998ad023e78e3b909e0c30dfa7902dc [INFO] running `Command { std: "docker" "start" "-a" "41bf59be502144bf9f8f5c3552064f5d8998ad023e78e3b909e0c30dfa7902dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41bf59be502144bf9f8f5c3552064f5d8998ad023e78e3b909e0c30dfa7902dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41bf59be502144bf9f8f5c3552064f5d8998ad023e78e3b909e0c30dfa7902dc", kill_on_drop: false }` [INFO] [stdout] 41bf59be502144bf9f8f5c3552064f5d8998ad023e78e3b909e0c30dfa7902dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+5ff93158e08fa2205cd4b86cddf9eae95952cc96" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3434ab5dadeeff0b0a418a33265070c77e0394ba9aeb40269d7da85e65b0b202 [INFO] running `Command { std: "docker" "start" "-a" "3434ab5dadeeff0b0a418a33265070c77e0394ba9aeb40269d7da85e65b0b202", kill_on_drop: false }` [INFO] [stderr] Checking ns-ir v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `usize::MIN` [INFO] [stdout] --> src/allocator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | usize::MIN, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PhysRegDiscriminant` and `Subregister` [INFO] [stdout] --> src/allocator.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | GenericSub, PhysRegDiscriminant, PhysicalRegister, Subregister, VirtualRegister, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Expresssion` and `VirtualRegister` [INFO] [stdout] --> src/instruction.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | static_data::{Expresssion, StaticDef}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 3 | virtual_register::{Register, VirtualRegister}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `usize::MIN` [INFO] [stdout] --> src/allocator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | usize::MIN, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PhysRegDiscriminant` and `Subregister` [INFO] [stdout] --> src/allocator.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | GenericSub, PhysRegDiscriminant, PhysicalRegister, Subregister, VirtualRegister, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VirtualRegister` [INFO] [stdout] --> src/instruction.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | virtual_register::{Register, VirtualRegister}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `register` [INFO] [stdout] --> src/allocator.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | fn free(&mut self, register: PhysicalRegister) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_register` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `register` [INFO] [stdout] --> src/allocator.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | fn free(&mut self, register: PhysicalRegister) {} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_register` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/allocator.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let mut old_map = take(&mut self.index).into_iter(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/allocator.rs:176:13 [INFO] [stdout] | [INFO] [stdout] 176 | let mut old_map = take(&mut self.index).into_iter(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> src/static_data.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 64 | StaticDef::Str { values, label } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `values: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/static_data.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | StaticDef::Str { values, label } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `label: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `values` [INFO] [stdout] --> src/static_data.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 64 | StaticDef::Str { values, label } => todo!(), [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `values: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `label` [INFO] [stdout] --> src/static_data.rs:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | StaticDef::Str { values, label } => todo!(), [INFO] [stdout] | ^^^^^ help: try ignoring the field: `label: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FreeRegisterPool` is never constructed [INFO] [stdout] --> src/allocator.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct FreeRegisterPool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `allocate`, `free`, `pop_from_pool`, and `filter_set` are never used [INFO] [stdout] --> src/allocator.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl FreeRegisterPool { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 33 | fn allocate(&mut self, minimum: &GenericSub) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn free(&mut self, register: PhysicalRegister) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] 42 | fn pop_from_pool(pool: &mut HashSet) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn filter_set( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Registers` is never constructed [INFO] [stdout] --> src/allocator.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | struct Registers { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `allocate`, and `free` are never used [INFO] [stdout] --> src/allocator.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 75 | impl Registers { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 76 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn allocate(&mut self, minimum: &GenericSub) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | fn free(&mut self, register: &PhysicalRegister) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Allocator` is never constructed [INFO] [stdout] --> src/allocator.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | struct Allocator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `refresh_index` is never used [INFO] [stdout] --> src/allocator.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 168 | impl Allocator { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 169 | fn refresh_index(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Location` is never used [INFO] [stdout] --> src/allocator.rs:192:6 [INFO] [stdout] | [INFO] [stdout] 192 | enum Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ENTRY_SECTION` is never used [INFO] [stdout] --> src/instruction.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const ENTRY_SECTION: &str = ":entry"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DATA_SECTION` is never used [INFO] [stdout] --> src/instruction.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const DATA_SECTION: &str = ":data"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PROGRAM_SECTION` is never used [INFO] [stdout] --> src/instruction.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const PROGRAM_SECTION: &str = ":program"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDENT` is never used [INFO] [stdout] --> src/instruction.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const INDENT: &str = " "; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RegHandle` is never used [INFO] [stdout] --> src/instruction.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | type RegHandle = Register; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Constant` is never used [INFO] [stdout] --> src/instruction.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum Constant { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operation` is never used [INFO] [stdout] --> src/instruction.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Instruction` is never used [INFO] [stdout] --> src/instruction.rs:345:10 [INFO] [stdout] | [INFO] [stdout] 345 | pub enum Instruction { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IntermediateRepresentation` is never constructed [INFO] [stdout] --> src/instruction.rs:370:12 [INFO] [stdout] | [INFO] [stdout] 370 | pub struct IntermediateRepresentation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Alignment` is never used [INFO] [stdout] --> src/static_data.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Alignment { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StaticDef` is never used [INFO] [stdout] --> src/static_data.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum StaticDef { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expresssion` is never used [INFO] [stdout] --> src/static_data.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | pub enum Expresssion { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `BinaryOperator` is never used [INFO] [stdout] --> src/static_data.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | pub enum BinaryOperator { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VirtualRegister` is never constructed [INFO] [stdout] --> src/virtual_register.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct VirtualRegister { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GenericSub` is never used [INFO] [stdout] --> src/virtual_register.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum GenericSub { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_size` is never used [INFO] [stdout] --> src/virtual_register.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl GenericSub { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 17 | pub fn get_size(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Subregister` is never used [INFO] [stdout] --> src/virtual_register.rs:27:10 [INFO] [stdout] | [INFO] [stdout] 27 | pub enum Subregister { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_size`, `get_all`, and `get_overlapping` are never used [INFO] [stdout] --> src/virtual_register.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Subregister { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 46 | pub fn get_size(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn get_all() -> [Self; 15] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn get_overlapping(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PhysicalRegister` is never used [INFO] [stdout] --> src/virtual_register.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 162 | pub enum PhysicalRegister { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_all`, `as_generic`, `sub_in`, and `get_sub` are never used [INFO] [stdout] --> src/virtual_register.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 205 | impl PhysicalRegister { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 206 | pub fn new_all() -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn as_generic(&self) -> PhysRegDiscriminant { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn sub_in(&self, sub: &[Subregister]) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn get_sub(&self) -> &Subregister { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PhysRegDiscriminant` is never used [INFO] [stdout] --> src/virtual_register.rs:276:10 [INFO] [stdout] | [INFO] [stdout] 276 | pub enum PhysRegDiscriminant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Register` is never used [INFO] [stdout] --> src/virtual_register.rs:318:10 [INFO] [stdout] | [INFO] [stdout] 318 | pub enum Register { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FreeRegisterPool` is never constructed [INFO] [stdout] --> src/allocator.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct FreeRegisterPool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `allocate`, `free`, `pop_from_pool`, and `filter_set` are never used [INFO] [stdout] --> src/allocator.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl FreeRegisterPool { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 33 | fn allocate(&mut self, minimum: &GenericSub) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn free(&mut self, register: PhysicalRegister) {} [INFO] [stdout] | ^^^^ [INFO] [stdout] 42 | fn pop_from_pool(pool: &mut HashSet) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn filter_set( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Allocator` is never constructed [INFO] [stdout] --> src/allocator.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | struct Allocator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `refresh_index` is never used [INFO] [stdout] --> src/allocator.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 168 | impl Allocator { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 169 | fn refresh_index(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Location` is never used [INFO] [stdout] --> src/allocator.rs:192:6 [INFO] [stdout] | [INFO] [stdout] 192 | enum Location { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/instruction.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum Operation { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 40 | Nop, [INFO] [stdout] | ^^^ [INFO] [stdout] 41 | Cpy { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | Ldi { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | Load { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | Store { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | Add { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | Sub { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | Mult { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | Div { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | Or { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 85 | Xor { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | And { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | Not { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | Shl { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | Shr { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | Rotl { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | Rotr { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | Neg { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | Jmp { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | Jifz { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | Jifnz { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | Inc { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | Dec { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | Push { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | Pop { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | Call { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | Ret, [INFO] [stdout] | ^^^ [INFO] [stdout] 154 | // floating point [INFO] [stdout] 155 | Itof { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | Ftoi { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | Fadd { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | Fsub { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | Fmult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | Fdiv { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | Fmod { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | Mod { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `B2`, `B4`, and `B8` are never constructed [INFO] [stdout] --> src/static_data.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Alignment { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 11 | B1, [INFO] [stdout] 12 | B2, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | B4, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | B8, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Str` is never constructed [INFO] [stdout] --> src/static_data.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum StaticDef { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 34 | Str { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Add`, `Mult`, `Div`, and `Mod` are never constructed [INFO] [stdout] --> src/static_data.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 79 | pub enum BinaryOperator { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 80 | Add, [INFO] [stdout] | ^^^ [INFO] [stdout] 81 | Sub, [INFO] [stdout] 82 | Mult, [INFO] [stdout] | ^^^^ [INFO] [stdout] 83 | Div, [INFO] [stdout] | ^^^ [INFO] [stdout] 84 | Mod, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `H` is never constructed [INFO] [stdout] --> src/virtual_register.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum GenericSub { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | H, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `GenericSub` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_all` is never used [INFO] [stdout] --> src/virtual_register.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Subregister { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn get_all() -> [Self; 15] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Null`, `Pc`, `Sp`, and `Fp` are never constructed [INFO] [stdout] --> src/virtual_register.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub enum PhysicalRegister { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 163 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] 164 | Pc, [INFO] [stdout] | ^^ [INFO] [stdout] 165 | Sp, [INFO] [stdout] | ^^ [INFO] [stdout] 166 | Fp, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `PhysicalRegister` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Virtual` and `Physical` are never constructed [INFO] [stdout] --> src/virtual_register.rs:319:5 [INFO] [stdout] | [INFO] [stdout] 318 | pub enum Register { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 319 | Virtual(VirtualRegister), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 320 | Physical(PhysicalRegister), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `IR` should have a snake case name [INFO] [stdout] --> src/instruction.rs:425:13 [INFO] [stdout] | [INFO] [stdout] 425 | let IR = IntermediateRepresentation { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "3434ab5dadeeff0b0a418a33265070c77e0394ba9aeb40269d7da85e65b0b202", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3434ab5dadeeff0b0a418a33265070c77e0394ba9aeb40269d7da85e65b0b202", kill_on_drop: false }` [INFO] [stdout] 3434ab5dadeeff0b0a418a33265070c77e0394ba9aeb40269d7da85e65b0b202